Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
db299a87
Commit
db299a87
authored
Mar 13, 2024
by
takatost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sequence_number for workflow_started event
parent
737d0436
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
generate_task_pipeline.py
api/core/app/apps/advanced_chat/generate_task_pipeline.py
+1
-0
generate_task_pipeline.py
api/core/app/apps/workflow/generate_task_pipeline.py
+1
-0
No files found.
api/core/app/apps/advanced_chat/generate_task_pipeline.py
View file @
db299a87
...
@@ -226,6 +226,7 @@ class AdvancedChatAppGenerateTaskPipeline(WorkflowBasedGenerateTaskPipeline):
...
@@ -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
())
}
}
}
}
...
...
api/core/app/apps/workflow/generate_task_pipeline.py
View file @
db299a87
...
@@ -195,6 +195,7 @@ class WorkflowAppGenerateTaskPipeline(WorkflowBasedGenerateTaskPipeline):
...
@@ -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
())
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment