Repository navigation
fix(advanced): bump langchain-quickjs to 0.3.12, drop the exit workaround - #1202
Open
radu-mocanu wants to merge 1 commit into
Open
radu-mocanu wants to merge 1 commit into
radu-mocanu wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the dependency update and refusal-handling changes.
No open issues 🎉
What changed in this PR
Updates the advanced-agent dependencies to use the upstream interpreter-shutdown fix, removes the local exit workaround, and adapts refusal handling to the updated libraries.
Changes:
- Requires
langchain-quickjs>=0.3.12andlangchain-core>=1.7.5, refreshes locked dependencies, and bumps the SDK to0.19.4. - Removes REPL cleanup at exit while preserving provider-specific main-agent refusal handling and upstream subagent refusal behavior.
- Adds refusal regression tests and updates compatibility with dependency APIs.
| File | Description |
|---|---|
uv.lock |
Refreshes resolved dependencies and SDK metadata. |
tests/agent/multimodal/test_utils.py |
Updates Anthropic formatting calls for the new signature. |
tests/agent/advanced/test_payload_handler_middleware.py |
Adds refusal-handling and middleware-wiring tests. |
tests/agent/advanced/test_code_interpreter.py |
Removes the obsolete exit-cleanup registration test. |
src/uipath_langchain/agent/tools/base_uipath_structured_tool.py |
Uses LangChain’s signature-parameter helper. |
src/uipath_langchain/agent/advanced/code_interpreter.py |
Removes the local atexit REPL cleanup workaround. |
src/uipath_langchain/agent/advanced/agent.py |
Adds main-agent refusal-response middleware. |
pyproject.toml |
Raises dependency minimums and bumps the SDK version. |
Review effort: Balanced
radu-mocanu
force-pushed
the
fix/quickjs-0.3.12-drop-atexit
branch
from
November 9, 2026 10:37
0b7e066 to
c6f6cc9
Compare
radu-mocanu
force-pushed
the
fix/quickjs-0.3.12-drop-atexit
branch
from
November 10, 2026 09:02
c6f6cc9 to
bd5360e
Compare
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
langchain-quickjs>=0.3.12and remove theatexitREPL close: upstream no longer blocks interpreter shutdown, so jobs whose run ended in an interrupt or a tool error still exitCHAT_MODELerror instead of upstream's newModelRefusalErrorWhy
the hang was fixed upstream in langchain-ai/deepagents#6397, so the local workaround is dead weight.