From 2d242baaa5622b6430a0bfa302d430b406c97009 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Mon, 11 Aug 2025 20:11:21 +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 5296f8351..498d5ee8f 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -1021,7 +1021,7 @@ def create_react_agent( elif isinstance(messages[-1], ToolMessage): return entrypoint elif response_format is not None: - return "generate_structured_response" + return "respond" else: return END @@ -1092,3 +1092,4 @@ __all__ = [ +