WIP: feat(api): add is_resumption to node_started and workflow_started events

This commit is contained in:
QuantumGhost
2026-01-04 01:10:50 +08:00
parent f4642f85b7
commit 6337a9a125
11 changed files with 215 additions and 1 deletions

View File

@ -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)