Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-11 20:15:48 +00:00
parent aaf1265a17
commit 9f7aa90e05
@@ -520,7 +520,7 @@ def create_react_agent(
if hasattr(actual_schema, "__name__"):
response_tool_name = actual_schema.__name__ # type: ignore[union-attr]
elif isinstance(actual_schema, dict) and "title" in actual_schema:
response_tool_name = actual_schema["title"] # type: ignore[index]
response_tool_name = actual_schema["title"]
else:
response_tool_name = "ResponseSchema"
@@ -1045,3 +1045,4 @@ __all__ = [
"AgentStateWithStructuredResponsePydantic",
]