Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-12 17:02:09 +00:00
parent bc2a4b2938
commit 9ef76c1c1a
@@ -1303,7 +1303,7 @@ def create_react_agent(
tool_node.inject_tool_args(call, state, store) # type: ignore[arg-type]
for call in pending_tool_calls
]
return [Send("tools", [tool_call]) for tool_call in pending_tool_calls]
return [Send(call['name'], call) for call in pending_tool_calls]
elif isinstance(messages[-1], ToolMessage):
return entrypoint
elif response_format is not None:
@@ -1380,3 +1380,4 @@ __all__ = [