diff --git a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py index 808ee7115..62167e60f 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -916,7 +916,7 @@ def create_react_agent( if post_model_hook is not None: return "post_model_hook" elif response_format is not None: - return "generate_structured_response" + return "respond" else: return END # Otherwise if there is, we continue @@ -1090,3 +1090,4 @@ __all__ = [ +