Pass maximum tool calls limit to workflow runtime

This commit is contained in:
2026-06-15 15:12:59 +02:00
parent e783885503
commit 84a845948b

View File

@@ -162,6 +162,7 @@ class WorkflowRuntime:
counter_lock = asyncio.Lock()
node_outputs: Dict[str, Any] = {}
run_values = dict(inputs.get("run") or {})
run_values["maximum_tool_calls_override"] = graph.limits.maximum_tool_calls
workflow_inputs = dict(inputs.get("input") or {})
values = {"input": workflow_inputs, "run": run_values, "nodes": {}}