From 9ef76c1c1ae9033549b362e7c457e30e3368436c Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Tue, 12 Aug 2025 17:02:09 +0000 Subject: [PATCH] Apply patch [skip ci] --- libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py index ff0284985..0f387cbaf 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -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__ = [ +