From bc2a4b2938403bbe8f827b5fc14823e32186afa8 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Tue, 12 Aug 2025 17:01:41 +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 81167c12a..ff0284985 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -1216,7 +1216,7 @@ def create_react_agent( tool_node.inject_tool_args(call, state, store) # type: ignore[arg-type] for call in last_message.tool_calls ] - return [Send("tools", [tool_call]) for tool_call in tool_calls] + return [Send(call['name'], call) for call in tool_calls] # Define a new graph workflow = StateGraph( @@ -1379,3 +1379,4 @@ __all__ = [ +