Skip to content

Commit c866d05

Browse files
committed
fix: 修复直接回答对话无法显示文本
1 parent 6102c71 commit c866d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/i_step_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def write_context(step_variable: Dict, global_variable: Dict, node, workflow):
3232
if workflow.is_result(node, NodeResult(step_variable, global_variable)) and 'answer' in step_variable:
3333
answer = step_variable['answer']
3434
yield answer
35-
workflow.append_answer(answer)
35+
node.answer_text = answer
3636
if global_variable is not None:
3737
for key in global_variable:
3838
workflow.context[key] = global_variable[key]

0 commit comments

Comments
 (0)