From 09b5cacbad7feb5cd9f7ea6d43d87721dd7fcc09 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Tue, 5 Aug 2025 13:02:51 +0800 Subject: [PATCH] fix: rag variable --- .../nodes/_base/components/variable/variable-label/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/_base/components/variable/variable-label/hooks.ts b/web/app/components/workflow/nodes/_base/components/variable/variable-label/hooks.ts index d30522f11f..19690edcba 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/variable-label/hooks.ts +++ b/web/app/components/workflow/nodes/_base/components/variable/variable-label/hooks.ts @@ -48,7 +48,7 @@ export const useVarColor = (variables: string[], isExceptionVariable?: boolean, export const useVarName = (variables: string[], notShowFullPath?: boolean) => { let variableFullPathName = variables.slice(1).join('.') - if (isRagVariableVar(variables) && variables[1] === 'shared') + if (isRagVariableVar(variables)) variableFullPathName = variables.slice(2).join('.') const variablesLength = variables.length