fix: llm generation variable

This commit is contained in:
zxhlyh
2026-01-21 14:56:49 +08:00
parent b0a059250a
commit e85b0c49d8
3 changed files with 41 additions and 10 deletions

View File

@ -46,7 +46,7 @@ export const useWorkflowTemplate = () => {
id: 'answer',
data: {
...answerDefault.defaultValue,
answer: `{{#${llmNode.id}.text#}}`,
answer: `{{#${llmNode.id}.generation#}}`,
type: answerDefault.metaData.type,
title: t(`blocks.${answerDefault.metaData.type}`, { ns: 'workflow' }),
},