- {{ f.name }}: {{ f.output_value }}
+ {{ f.name }} ({{ f.output_type }}): {{ f.output_value }}
From e62183426abbb3e349ed656b97af8a8bb83489c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com>
Date: Thu, 26 Mar 2026 10:09:20 +0800
Subject: [PATCH 10/12] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=9B=9E=E9=80=80?=
=?UTF-8?q?=E9=81=BF=E5=85=8D=E6=8A=A5=E9=94=99=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../variable_assign_node/impl/base_variable_assign_node.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py b/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py
index 54149a7333c..041aa8b9667 100644
--- a/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py
+++ b/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py
@@ -99,7 +99,7 @@ def handle(self, variable, evaluation):
evaluation(variable, val)
result['output_value'] = val
else:
- reference = self.get_reference_content(variable['reference'])
+ reference = self.get_reference_content(variable.get('reference'))
reference = self.convert(reference, variable.get('target_type'))
evaluation(variable, reference)
result['output_value'] = reference
@@ -109,7 +109,6 @@ def handle(self, variable, evaluation):
return result
def execute(self, variable_list, **kwargs) -> NodeResult:
- #
result_list = []
contains_chat_variable = False
for variable in variable_list:
From 136c30e288b40067878785f1fd326359d83571ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com>
Date: Thu, 26 Mar 2026 10:15:18 +0800
Subject: [PATCH 11/12] =?UTF-8?q?=E6=92=A4=E5=9B=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../variable_assign_node/impl/base_variable_assign_node.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py b/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py
index 041aa8b9667..30340d5fb81 100644
--- a/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py
+++ b/apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py
@@ -99,7 +99,7 @@ def handle(self, variable, evaluation):
evaluation(variable, val)
result['output_value'] = val
else:
- reference = self.get_reference_content(variable.get('reference'))
+ reference = self.get_reference_content(variable['reference'])
reference = self.convert(reference, variable.get('target_type'))
evaluation(variable, reference)
result['output_value'] = reference
From 2d1449aeb6715f03b96edb1840ea8cab9bea7221 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com>
Date: Tue, 31 Mar 2026 14:21:35 +0800
Subject: [PATCH 12/12] =?UTF-8?q?=E5=B0=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ui/src/locales/lang/en-US/workflow.ts | 18 +++++++++---------
ui/src/locales/lang/zh-CN/workflow.ts | 6 +++---
ui/src/locales/lang/zh-Hant/workflow.ts | 6 +++---
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/ui/src/locales/lang/en-US/workflow.ts b/ui/src/locales/lang/en-US/workflow.ts
index ec1b5e39c83..e39d262a977 100644
--- a/ui/src/locales/lang/en-US/workflow.ts
+++ b/ui/src/locales/lang/en-US/workflow.ts
@@ -200,18 +200,18 @@ export default {
label: 'Question Optimization',
text: 'Optimize and improve the current question based on historical chat records to better match knowledge segments',
result: 'Optimized Question Result',
- systemDefault: `#Role
+ systemDefault: `# Role
You are a master of problem optimization, adept at accurately inferring user intentions based on context and optimizing the questions raised by users.
-##Skills
-###Skill 1: Optimizing Problems
-2. Receive user input questions.
-3. Carefully analyze the meaning of the problem based on the context.
-4. Output optimized problems.
+## Skills
+### Skill 1: Optimizing Problems
+1. Receive user input questions.
+2. Carefully analyze the meaning of the problem based on the context.
+3. Output optimized problems.
-##Limitations:
--Only return the optimized problem without any additional explanation or clarification.
--Ensure that the optimized problem accurately reflects the original problem intent and does not alter the original intention.`,
+## Limitations:
+- Only return the optimized problem without any additional explanation or clarification.
+- Ensure that the optimized problem accurately reflects the original problem intent and does not alter the original intention.`,
},
conditionNode: {
label: 'Conditional Branch',
diff --git a/ui/src/locales/lang/zh-CN/workflow.ts b/ui/src/locales/lang/zh-CN/workflow.ts
index b3169c439ce..3c004d437c2 100644
--- a/ui/src/locales/lang/zh-CN/workflow.ts
+++ b/ui/src/locales/lang/zh-CN/workflow.ts
@@ -205,9 +205,9 @@ export default {
## 技能
### 技能 1: 优化问题
-2. 接收用户输入的问题。
-3. 依据上下文仔细分析问题含义。
-4. 输出优化后的问题。
+1. 接收用户输入的问题。
+2. 依据上下文仔细分析问题含义。
+3. 输出优化后的问题。
## 限制:
- 仅返回优化后的问题,不进行额外解释或说明。
diff --git a/ui/src/locales/lang/zh-Hant/workflow.ts b/ui/src/locales/lang/zh-Hant/workflow.ts
index c62b2e507d6..a7fd05c9f1b 100644
--- a/ui/src/locales/lang/zh-Hant/workflow.ts
+++ b/ui/src/locales/lang/zh-Hant/workflow.ts
@@ -205,9 +205,9 @@ export default {
## 技能
### 技能 1: 優化問題
-2. 接收用戶輸入的問題。
-3. 依據上下文仔細分析問題含義。
-4. 輸出優化後的問題。
+1. 接收用戶輸入的問題。
+2. 依據上下文仔細分析問題含義。
+3. 輸出優化後的問題。
## 限制:
- 僅返回優化後的問題,不進行額外解釋或說明。