Skip to content

armgit / dify

Public Imported from GitHub
0

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.

fix: not able to pass array of string/number/object into variable aggregator groups (#7757)

Leheng Lu5d0914daea66
diff --git a/api/core/workflow/nodes/variable_aggregator/entities.py b/api/core/workflow/nodes/variable_aggregator/entities.py
index cea88334b90..e5de38dc0fa 100644
--- a/api/core/workflow/nodes/variable_aggregator/entities.py
+++ b/api/core/workflow/nodes/variable_aggregator/entities.py
@@ -17,7 +17,7 @@ class AdvancedSettings(BaseModel):
"""
Group.
"""
- output_type: Literal['string', 'number', 'array', 'object']
+ output_type: Literal['string', 'number', 'object', 'array[string]', 'array[number]', 'array[object]']
variables: list[list[str]]
group_name: str
@@ -30,4 +30,4 @@ class VariableAssignerNodeData(BaseNodeData):
type: str = 'variable-assigner'
output_type: str
variables: list[list[str]]
- advanced_settings: Optional[AdvancedSettings] = None
\ No newline at end of file
+ advanced_settings: Optional[AdvancedSettings] = None