Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-22 14:54:53 +00:00
parent b242b5499c
commit 193b4c34ec
@@ -1168,7 +1168,7 @@ def _get_reserved_keyword_args(tool: BaseTool) -> dict[str, str]:
A dictionary mapping reserved parameter names to their injection type.
Keys are parameter names, values are either 'state' or 'runtime'.
"""
reserved_args = {}
reserved_args: dict[str, str] = {}
# Get the underlying function from the tool
if hasattr(tool, "func"):
@@ -1393,3 +1393,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