Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Update iteration_node.py to fix #14098: Token count increases exponen… (#14100)
E Chena97d73ab0531
diff --git a/api/core/workflow/nodes/iteration/iteration_node.py b/api/core/workflow/nodes/iteration/iteration_node.pyindex a7d0aefc6d2..16fccf8bf32 100644--- a/api/core/workflow/nodes/iteration/iteration_node.py+++ b/api/core/workflow/nodes/iteration/iteration_node.py@@ -590,6 +590,7 @@ class IterationNode(BaseNode[IterationNodeData]):with flask_app.app_context():parallel_mode_run_id = uuid.uuid4().hexgraph_engine_copy = graph_engine.create_copy()+ graph_engine_copy.graph_runtime_state.total_tokens = 0variable_pool_copy = graph_engine_copy.graph_runtime_state.variable_poolvariable_pool_copy.add([self.node_id, "index"], index)variable_pool_copy.add([self.node_id, "item"], item)