Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-12 17:03:18 +00:00
parent 2de44a4abc
commit e49423e19a
@@ -1257,7 +1257,7 @@ def create_react_agent(
agent_paths.append("post_model_hook")
workflow.add_edge("agent", "post_model_hook")
else:
agent_paths.append("tools")
agent_paths.extend(tool_names)
# Add a structured output node if response_format is provided
if response_format is not None:
@@ -1384,3 +1384,4 @@ __all__ = [