Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-22 15:21:48 +00:00
parent 20befcb86a
commit fc83746a29
@@ -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]: