diff --git a/web/app/components/workflow/nodes/llm/use-config.ts b/web/app/components/workflow/nodes/llm/use-config.ts index 0748927de3..90cf1d866c 100644 --- a/web/app/components/workflow/nodes/llm/use-config.ts +++ b/web/app/components/workflow/nodes/llm/use-config.ts @@ -286,7 +286,7 @@ const useConfig = (id: string, payload: LLMNodeType) => { variable[0] = varInfo?.title || availableNodes[0]?.data.title // default start node title return { - variable: variable.join('/'), + variable: `${variable[0]}/${variable[variable.length - 1]}`, value_selector: item, } })