From ad8946655f3083147a68d3f2d4a481831f3a64d1 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Mon, 11 Aug 2025 20:18:59 +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 fe7b04ca8..5ad1de688 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -806,7 +806,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"] @@ -1044,3 +1044,4 @@ __all__ = [ +