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
fix/array file cannot use in iteration node (#12035)
-LAN-094343739b42
diff --git a/api/core/variables/variables.py b/api/core/variables/variables.pyindex f9268b52e6c..973e420961b 100644--- a/api/core/variables/variables.py+++ b/api/core/variables/variables.py@@ -90,5 +90,5 @@ class FileVariable(FileSegment, Variable):pass-class ArrayFileVariable(ArrayFileSegment, Variable):+class ArrayFileVariable(ArrayFileSegment, ArrayVariable):passdiff --git a/api/tests/unit_tests/core/app/segments/test_variables.py b/api/tests/unit_tests/core/app/segments/test_variables.pyindex 0c264c15a03..426557c7161 100644--- a/api/tests/unit_tests/core/app/segments/test_variables.py+++ b/api/tests/unit_tests/core/app/segments/test_variables.py@@ -2,6 +2,8 @@ import pytestfrom pydantic import ValidationErrorfrom core.variables import (+ ArrayFileVariable,+ ArrayVariable,FloatVariable,IntegerVariable,ObjectVariable,@@ -81,3 +83,8 @@ def test_variable_to_object():assert var.to_object() == 3.14var = SecretVariable(name="secret", value="secret_value")assert var.to_object() == "secret_value"+++def test_array_file_variable_is_array_variable():+ var = ArrayFileVariable(name="files", value=[])+ assert isinstance(var, ArrayVariable)