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:
@@ -1266,7 +1266,7 @@ def _wrap_tool_with_reserved_keywords(
|
||||
return filtered_schema
|
||||
except Exception:
|
||||
# If schema creation fails, return original
|
||||
return original_schema # type: ignore[no-any-return]
|
||||
return original_schema
|
||||
|
||||
# Create the filtered tool instance
|
||||
filtered_tool = FilteredTool(
|
||||
@@ -1408,3 +1408,4 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user