mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 00:18:03 +08:00
WIP: feat(api): add is_resumption to node_started and workflow_started events
This commit is contained in:
@ -131,6 +131,9 @@ class EventHandler:
|
||||
node_execution.mark_started(event.id)
|
||||
self._graph_runtime_state.increment_node_run_steps()
|
||||
|
||||
# Mark whether this start is part of a resume flow
|
||||
event.is_resumption = self._graph_runtime_state.consume_resuming_node(event.node_id)
|
||||
|
||||
# Track in response coordinator for stream ordering
|
||||
self._response_coordinator.track_node_execution(event.node_id, event.id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user