From 55dac533d962f1d19d0c00772ebc4239f91c5c17 Mon Sep 17 00:00:00 2001 From: mengyonghao <1533512157@qq.com> Date: Mon, 5 Jan 2026 10:50:32 +0800 Subject: [PATCH] fix(workflow): fix passing of loop variable termination condition --- api/app/core/workflow/nodes/base_node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/app/core/workflow/nodes/base_node.py b/api/app/core/workflow/nodes/base_node.py index e9fa4f25..8eb31fb4 100644 --- a/api/app/core/workflow/nodes/base_node.py +++ b/api/app/core/workflow/nodes/base_node.py @@ -356,7 +356,8 @@ class BaseNode(ABC): **final_output, "runtime_vars": { self.node_id: runtime_var - } + }, + "looping": state["looping"] } # Add streaming buffer for non-End nodes