mirror of https://github.com/langgenius/dify.git
fix answer message save
This commit is contained in:
parent
958da42f74
commit
02337cbb09
|
|
@ -463,10 +463,6 @@ class WorkflowCycleManage:
|
|||
|
||||
self._task_state.workflow_run_id = workflow_run.id
|
||||
|
||||
if workflow_run.status == WorkflowRunStatus.SUCCEEDED.value:
|
||||
outputs = workflow_run.outputs_dict
|
||||
self._task_state.answer = outputs.get('text', '')
|
||||
|
||||
db.session.close()
|
||||
|
||||
return workflow_run
|
||||
|
|
|
|||
Loading…
Reference in New Issue