From 84a845948bfad6ca9fade57470535d584b012789 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 15 Jun 2026 15:12:59 +0200 Subject: [PATCH] Pass maximum tool calls limit to workflow runtime --- backend/agent/runtime.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/agent/runtime.py b/backend/agent/runtime.py index 8ac67ba..f659b06 100644 --- a/backend/agent/runtime.py +++ b/backend/agent/runtime.py @@ -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": {}}