Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: missing LLM node output var description (#26648)

非法操作c4d8bf0ce9a0
diff --git a/web/app/components/workflow/nodes/llm/panel.tsx b/web/app/components/workflow/nodes/llm/panel.tsx
index 03569f6f7a1..cd79b9f3d9b 100644
--- a/web/app/components/workflow/nodes/llm/panel.tsx
+++ b/web/app/components/workflow/nodes/llm/panel.tsx
@@ -293,6 +293,11 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
type='string'
description={t(`${i18nPrefix}.outputVars.output`)}
/>
+ <VarItem
+ name='reasoning_content'
+ type='string'
+ description={t(`${i18nPrefix}.outputVars.reasoning_content`)}
+ />
<VarItem
name='usage'
type='object'
diff --git a/web/i18n/de-DE/workflow.ts b/web/i18n/de-DE/workflow.ts
index 71000897ca3..ff1b9d76f90 100644
--- a/web/i18n/de-DE/workflow.ts
+++ b/web/i18n/de-DE/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Generierter Inhalt',
+ reasoning_content: 'Reasoning-Inhalt',
usage: 'Nutzungsinformationen des Modells',
},
singleRun: {
diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts
index 3f1654b2e71..a5862bef860 100644
--- a/web/i18n/en-US/workflow.ts
+++ b/web/i18n/en-US/workflow.ts
@@ -456,6 +456,7 @@ const translation = {
},
outputVars: {
output: 'Generate content',
+ reasoning_content: 'Reasoning Content',
usage: 'Model Usage Information',
},
singleRun: {
diff --git a/web/i18n/es-ES/workflow.ts b/web/i18n/es-ES/workflow.ts
index 822b226e714..cc1a19bfbfd 100644
--- a/web/i18n/es-ES/workflow.ts
+++ b/web/i18n/es-ES/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Generar contenido',
+ reasoning_content: 'Contenido de razonamiento',
usage: 'Información de uso del modelo',
},
singleRun: {
diff --git a/web/i18n/fa-IR/workflow.ts b/web/i18n/fa-IR/workflow.ts
index d91e4498fe9..c6e002a5f29 100644
--- a/web/i18n/fa-IR/workflow.ts
+++ b/web/i18n/fa-IR/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'تولید محتوا',
+ reasoning_content: 'محتوای استدلال',
usage: 'اطلاعات استفاده از مدل',
},
singleRun: {
diff --git a/web/i18n/fr-FR/workflow.ts b/web/i18n/fr-FR/workflow.ts
index 270cd1b7e60..f5d76e75799 100644
--- a/web/i18n/fr-FR/workflow.ts
+++ b/web/i18n/fr-FR/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Contenu généré',
+ reasoning_content: 'Contenu de raisonnement',
usage: 'Informations sur l\'utilisation du modèle',
},
singleRun: {
diff --git a/web/i18n/hi-IN/workflow.ts b/web/i18n/hi-IN/workflow.ts
index d94c9f102ef..382a570a17c 100644
--- a/web/i18n/hi-IN/workflow.ts
+++ b/web/i18n/hi-IN/workflow.ts
@@ -457,6 +457,7 @@ const translation = {
},
outputVars: {
output: 'सामग्री उत्पन्न करें',
+ reasoning_content: 'तर्क सामग्री',
usage: 'मॉडल उपयोग जानकारी',
},
singleRun: {
diff --git a/web/i18n/id-ID/workflow.ts b/web/i18n/id-ID/workflow.ts
index 4bfbe934f7c..969b7bb8b0d 100644
--- a/web/i18n/id-ID/workflow.ts
+++ b/web/i18n/id-ID/workflow.ts
@@ -427,6 +427,7 @@ const translation = {
},
outputVars: {
output: 'Hasilkan konten',
+ reasoning_content: 'Konten penalaran',
usage: 'Informasi Penggunaan Model',
},
singleRun: {
diff --git a/web/i18n/it-IT/workflow.ts b/web/i18n/it-IT/workflow.ts
index 7322599abf7..b032f1a59b2 100644
--- a/web/i18n/it-IT/workflow.ts
+++ b/web/i18n/it-IT/workflow.ts
@@ -461,6 +461,7 @@ const translation = {
},
outputVars: {
output: 'Genera contenuto',
+ reasoning_content: 'Contenuto del ragionamento',
usage: 'Informazioni sull\'utilizzo del modello',
},
singleRun: {
diff --git a/web/i18n/ja-JP/workflow.ts b/web/i18n/ja-JP/workflow.ts
index e85dcd305e3..a4ffc95f683 100644
--- a/web/i18n/ja-JP/workflow.ts
+++ b/web/i18n/ja-JP/workflow.ts
@@ -456,6 +456,7 @@ const translation = {
},
outputVars: {
output: '生成内容',
+ reasoning_content: '推論内容',
usage: 'モデル使用量',
},
singleRun: {
diff --git a/web/i18n/ko-KR/workflow.ts b/web/i18n/ko-KR/workflow.ts
index 7e3775c1f87..75c607a004f 100644
--- a/web/i18n/ko-KR/workflow.ts
+++ b/web/i18n/ko-KR/workflow.ts
@@ -469,6 +469,7 @@ const translation = {
},
outputVars: {
output: '생성된 내용',
+ reasoning_content: '추론 내용',
usage: '모델 사용 정보',
},
singleRun: {
diff --git a/web/i18n/pl-PL/workflow.ts b/web/i18n/pl-PL/workflow.ts
index 87c96c758ff..1d2a8929410 100644
--- a/web/i18n/pl-PL/workflow.ts
+++ b/web/i18n/pl-PL/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Generowana treść',
+ reasoning_content: 'Treść rozumowania',
usage: 'Informacje o użyciu modelu',
},
singleRun: {
diff --git a/web/i18n/pt-BR/workflow.ts b/web/i18n/pt-BR/workflow.ts
index 9657ef8e7f4..5610cacc132 100644
--- a/web/i18n/pt-BR/workflow.ts
+++ b/web/i18n/pt-BR/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Conteúdo gerado',
+ reasoning_content: 'Conteúdo de raciocínio',
usage: 'Informações de uso do modelo',
},
singleRun: {
diff --git a/web/i18n/ro-RO/workflow.ts b/web/i18n/ro-RO/workflow.ts
index 94d01ec1bae..d2239e79799 100644
--- a/web/i18n/ro-RO/workflow.ts
+++ b/web/i18n/ro-RO/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Conținut generat',
+ reasoning_content: 'Conținut de raționament',
usage: 'Informații de utilizare a modelului',
},
singleRun: {
diff --git a/web/i18n/ru-RU/workflow.ts b/web/i18n/ru-RU/workflow.ts
index 1e0ecf12763..2345f3447b0 100644
--- a/web/i18n/ru-RU/workflow.ts
+++ b/web/i18n/ru-RU/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Создать контент',
+ reasoning_content: 'Содержимое рассуждений',
usage: 'Информация об использовании модели',
},
singleRun: {
diff --git a/web/i18n/sl-SI/workflow.ts b/web/i18n/sl-SI/workflow.ts
index baeff90ee6d..7a167c236f5 100644
--- a/web/i18n/sl-SI/workflow.ts
+++ b/web/i18n/sl-SI/workflow.ts
@@ -442,6 +442,7 @@ const translation = {
},
outputVars: {
output: 'Ustvari vsebino',
+ reasoning_content: 'Vsebina razmišljanja',
usage: 'Informacije o uporabi modela',
},
singleRun: {
diff --git a/web/i18n/th-TH/workflow.ts b/web/i18n/th-TH/workflow.ts
index e2db4ceb4a8..1cea01690a4 100644
--- a/web/i18n/th-TH/workflow.ts
+++ b/web/i18n/th-TH/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'สร้างเนื้อหา',
+ reasoning_content: 'เนื้อหาการให้เหตุผล',
usage: 'ข้อมูลการใช้งานรุ่น',
},
singleRun: {
diff --git a/web/i18n/tr-TR/workflow.ts b/web/i18n/tr-TR/workflow.ts
index 68f3d5c0c20..dfab5c2c0c2 100644
--- a/web/i18n/tr-TR/workflow.ts
+++ b/web/i18n/tr-TR/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'İçerik Üret',
+ reasoning_content: 'Akıl yürütme içeriği',
usage: 'Model Kullanım Bilgileri',
},
singleRun: {
diff --git a/web/i18n/uk-UA/workflow.ts b/web/i18n/uk-UA/workflow.ts
index 56715c5e377..09f2b71eeaa 100644
--- a/web/i18n/uk-UA/workflow.ts
+++ b/web/i18n/uk-UA/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Генерований вміст',
+ reasoning_content: 'Зміст міркування',
usage: 'Інформація про використання моделі',
},
singleRun: {
diff --git a/web/i18n/vi-VN/workflow.ts b/web/i18n/vi-VN/workflow.ts
index 3016d79a237..27d19a37f45 100644
--- a/web/i18n/vi-VN/workflow.ts
+++ b/web/i18n/vi-VN/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: 'Nội dung được tạo',
+ reasoning_content: 'Nội dung lập luận',
usage: 'Thông tin sử dụng mô hình',
},
singleRun: {
diff --git a/web/i18n/zh-Hans/workflow.ts b/web/i18n/zh-Hans/workflow.ts
index 77b7fe35973..a497bca56ae 100644
--- a/web/i18n/zh-Hans/workflow.ts
+++ b/web/i18n/zh-Hans/workflow.ts
@@ -456,6 +456,7 @@ const translation = {
},
outputVars: {
output: '生成内容',
+ reasoning_content: '推理内容',
usage: '模型用量信息',
},
singleRun: {
diff --git a/web/i18n/zh-Hant/workflow.ts b/web/i18n/zh-Hant/workflow.ts
index 809051c2be8..6acace8e4a4 100644
--- a/web/i18n/zh-Hant/workflow.ts
+++ b/web/i18n/zh-Hant/workflow.ts
@@ -444,6 +444,7 @@ const translation = {
},
outputVars: {
output: '生成內容',
+ reasoning_content: '推理內容',
usage: '模型用量信息',
},
singleRun: {