From 2d4988dc59de70e84e61e134194d898e9c33eb0b Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Mon, 11 Aug 2025 20:18:29 +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 12f40e3ff..fe7b04ca8 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -760,7 +760,7 @@ def create_react_agent( try: if hasattr(actual_schema, "__call__"): # For BaseModel classes - structured_response = actual_schema(**response_tool_call["args"]) + structured_response = actual_schema(**response_tool_call["args"]) # type: ignore[operator] else: # For dict schemas, just return the args structured_response = response_tool_call["args"] @@ -1043,3 +1043,4 @@ __all__ = [ +