From da8269781369207e3a37d6ea381e5b070cf63d4c Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Thu, 31 Jul 2025 19:40:03 +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 d4facdfea..1f0eb67b7 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -65,7 +65,7 @@ class AgentState(TypedDict): messages: Annotated[Sequence[BaseMessage], add_messages] - is_last_step: IsLastStep + is_last_step: NotRequired[IsLastStep] remaining_steps: RemainingSteps @@ -963,3 +963,4 @@ __all__ = [ "AgentStateWithStructuredResponsePydantic", ] +