Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-11 20:18:29 +00:00
parent f8c1e4477a
commit 2d4988dc59
@@ -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__ = [