Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-12 16:59:18 +00:00
parent acbe0b56e1
commit 4b3313482c
@@ -1229,7 +1229,9 @@ def create_react_agent(
RunnableCallable(call_model, acall_model),
input_schema=input_schema,
)
workflow.add_node("tools", tool_node)
# Add individual tool nodes instead of a single tools node
for tool in tool_classes:
workflow.add_node(tool.name, ToolExecutor(tool))
# Optionally add a pre-model hook node that will be called
# every time before the "agent" (LLM-calling node)
@@ -1375,3 +1377,4 @@ __all__ = [