Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-22 15:16:28 +00:00
parent a7ab82fdd2
commit f181695856
@@ -1262,7 +1262,7 @@ def _wrap_tool_with_reserved_keywords(
return filtered_schema
except Exception:
# If schema creation fails, return original
return original_schema
return original_schema # type: ignore[no-any-return]
# Create the filtered tool instance
filtered_tool = FilteredTool(
@@ -1400,3 +1400,4 @@ def _get_runtime_arg(tool: BaseTool) -> Optional[str]:
reserved_args = _get_reserved_keyword_args(tool)
return "runtime" if "runtime" in reserved_args else None