diff --git a/web/app/components/workflow/nodes/_base/components/variable/utils.ts b/web/app/components/workflow/nodes/_base/components/variable/utils.ts index ed7af5cfc0..9526f77f69 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/utils.ts +++ b/web/app/components/workflow/nodes/_base/components/variable/utils.ts @@ -66,12 +66,11 @@ const formatItem = (item: any, isChatMode: boolean, filterVar: (payload: Var, se variable: 'sys.query', type: VarType.string, }) - - res.vars.push({ - variable: 'sys.files', - type: VarType.arrayFile, - }) } + res.vars.push({ + variable: 'sys.files', + type: VarType.arrayFile, + }) break }