fix: _convert_prompt_message_to_dict parameters err (#5716)
This commit is contained in:
parent
8e5569f773
commit
0bf4817474
4 changed files with 10 additions and 9 deletions
|
|
@ -167,13 +167,14 @@ class WorkflowCycleManage(WorkflowIterationCycleManage):
|
|||
db.session.refresh(workflow_run)
|
||||
db.session.close()
|
||||
|
||||
trace_manager.add_trace_task(
|
||||
TraceTask(
|
||||
TraceTaskName.WORKFLOW_TRACE,
|
||||
workflow_run=workflow_run,
|
||||
conversation_id=conversation_id,
|
||||
if trace_manager:
|
||||
trace_manager.add_trace_task(
|
||||
TraceTask(
|
||||
TraceTaskName.WORKFLOW_TRACE,
|
||||
workflow_run=workflow_run,
|
||||
conversation_id=conversation_id,
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
return workflow_run
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue