mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-08 02:37:52 +02:00
Apply patch [skip ci]
This commit is contained in:
@@ -399,7 +399,7 @@ class ToolNode(RunnableCallable):
|
||||
)
|
||||
|
||||
# Check for reserved keywords and wrap the tool if needed
|
||||
reserved_args = _get_reserved_keyword_args(tool_)
|
||||
# (already computed above, no need to recompute)
|
||||
if reserved_args:
|
||||
tool_ = _wrap_tool_with_reserved_keywords(tool_, reserved_args)
|
||||
|
||||
@@ -1393,5 +1393,6 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user