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:
@@ -1181,6 +1181,7 @@ def _wrap_tool_with_reserved_keywords(tool: BaseTool, reserved_args: dict[str, s
|
||||
name=tool.name,
|
||||
description=tool.description,
|
||||
func=tool.func if hasattr(tool, 'func') else None,
|
||||
args_schema=FilteredSchema, # Set the filtered schema
|
||||
)
|
||||
|
||||
# Copy over other attributes
|
||||
@@ -1316,3 +1317,4 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user