Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-22 15:20:20 +00:00
parent d7084a4c83
commit 2f096a3c2e
@@ -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,misc]
class FilteredTool(tool.__class__): # type: ignore[name-defined]
"""Tool wrapper that excludes reserved keywords from schema."""
def get_input_schema(
@@ -1408,3 +1408,4 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]: