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:
@@ -1232,7 +1232,7 @@ def _wrap_tool_with_reserved_keywords(
|
||||
|
||||
# If no reserved args to filter, return original
|
||||
if not reserved_args:
|
||||
return original_schema # type: ignore[no-any-return]
|
||||
return original_schema
|
||||
|
||||
# Create a new schema class dynamically
|
||||
from pydantic import create_model
|
||||
@@ -1407,3 +1407,4 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user