mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 01:26:57 +08:00
add sequence_number for workflow_started event
This commit is contained in:
parent
2b4b6817a3
commit
5213b0aade
@ -226,6 +226,7 @@ class AdvancedChatAppGenerateTaskPipeline(WorkflowBasedGenerateTaskPipeline):
|
|||||||
'data': {
|
'data': {
|
||||||
'id': workflow_run.id,
|
'id': workflow_run.id,
|
||||||
'workflow_id': workflow_run.workflow_id,
|
'workflow_id': workflow_run.workflow_id,
|
||||||
|
'sequence_number': workflow_run.sequence_number,
|
||||||
'created_at': int(workflow_run.created_at.timestamp())
|
'created_at': int(workflow_run.created_at.timestamp())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -195,6 +195,7 @@ class WorkflowAppGenerateTaskPipeline(WorkflowBasedGenerateTaskPipeline):
|
|||||||
'data': {
|
'data': {
|
||||||
'id': workflow_run.id,
|
'id': workflow_run.id,
|
||||||
'workflow_id': workflow_run.workflow_id,
|
'workflow_id': workflow_run.workflow_id,
|
||||||
|
'sequence_number': workflow_run.sequence_number,
|
||||||
'created_at': int(workflow_run.created_at.timestamp())
|
'created_at': int(workflow_run.created_at.timestamp())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user