chore: enchance debug show name

This commit is contained in:
Joel 2024-04-01 12:29:44 +08:00
parent dfad42075c
commit e9985f0696

View File

@ -286,7 +286,7 @@ const useConfig = (id: string, payload: LLMNodeType) => {
variable[0] = varInfo?.title || availableNodes[0]?.data.title // default start node title variable[0] = varInfo?.title || availableNodes[0]?.data.title // default start node title
return { return {
variable: variable.join('/'), variable: `${variable[0]}/${variable[variable.length - 1]}`,
value_selector: item, value_selector: item,
} }
}) })