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:
@@ -1221,7 +1221,7 @@ def _wrap_tool_with_reserved_keywords(
|
||||
|
||||
# Create a wrapper tool that filters the schema
|
||||
# Use type: ignore to suppress mypy error for dynamic class creation
|
||||
class FilteredTool(tool.__class__): # type: ignore[name-defined]
|
||||
class FilteredTool(tool.__class__): # type: ignore[name-defined,misc]
|
||||
"""Tool wrapper that excludes reserved keywords from schema."""
|
||||
|
||||
def get_input_schema(
|
||||
@@ -1411,3 +1411,4 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user