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: input vars not auto rename in list operator (#9550)
Joel65e22bb76afd
diff --git a/web/app/components/workflow/nodes/_base/components/variable/utils.ts b/web/app/components/workflow/nodes/_base/components/variable/utils.tsindex 7c96d01a6fe..982f4f75003 100644--- a/web/app/components/workflow/nodes/_base/components/variable/utils.ts+++ b/web/app/components/workflow/nodes/_base/components/variable/utils.ts@@ -739,6 +739,11 @@ export const getNodeUsedVars = (node: Node): ValueSelector[] => {res = [(data as IterationNodeType).iterator_selector]break}++ case BlockEnum.ListFilter: {+ res = [(data as ListFilterNodeType).variable]+ break+ }}return res || []}@@ -997,6 +1002,12 @@ export const updateNodeVars = (oldNode: Node, oldVarSelector: ValueSelector, newbreak}+ case BlockEnum.ListFilter: {+ const payload = data as ListFilterNodeType+ if (payload.variable.join('.') === oldVarSelector.join('.'))+ payload.variable = newVarSelector+ break+ }}})return newNodediff --git a/web/app/components/workflow/nodes/list-operator/use-config.ts b/web/app/components/workflow/nodes/list-operator/use-config.tsindex 1ad85d91e2e..694ce9d49ae 100644--- a/web/app/components/workflow/nodes/list-operator/use-config.ts+++ b/web/app/components/workflow/nodes/list-operator/use-config.ts@@ -67,7 +67,7 @@ const useConfig = (id: string, payload: ListFilterNodeType) => {const itemVarTypeShowName = useMemo(() => {if (!inputs.variable)return '?'- return [itemVarType.substring(0, 1).toUpperCase(), itemVarType.substring(1)].join('')+ return [(itemVarType || VarType.string).substring(0, 1).toUpperCase(), (itemVarType || VarType.string).substring(1)].join('')}, [inputs.variable, itemVarType])const hasSubVariable = [VarType.arrayFile].includes(varType)