From 01eba2c38896c3fde2a1c7ca4e185eac4255f5fd Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Thu, 31 Jul 2025 19:42:37 +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 f460cc9c2..d67f7d3d7 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -483,7 +483,7 @@ def create_react_agent( ) if state_schema is not None: - required_keys = {"messages", "remaining_steps"} + required_keys = {"messages"} if response_format is not None: required_keys.add("structured_response") @@ -968,3 +968,4 @@ __all__ = [ +