From 4a8cf3aaee56eb2689503cd92b8ac96017454abf Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 13 Nov 2024 17:38:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=9B=9E=E7=AD=94=E5=AF=B9=E8=AF=9D=E6=97=A0=E6=B3=95=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/application/flow/i_step_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application/flow/i_step_node.py b/apps/application/flow/i_step_node.py index 3d30758a27c..360c46bb596 100644 --- a/apps/application/flow/i_step_node.py +++ b/apps/application/flow/i_step_node.py @@ -32,7 +32,7 @@ def write_context(step_variable: Dict, global_variable: Dict, node, workflow): if workflow.is_result(node, NodeResult(step_variable, global_variable)) and 'answer' in step_variable: answer = step_variable['answer'] yield answer - workflow.append_answer(answer) + node.answer_text = answer if global_variable is not None: for key in global_variable: workflow.context[key] = global_variable[key]