feat(api): Implement HITL for Workflow, add is_resumption for start event

This commit is contained in:
QuantumGhost
2025-12-30 16:40:08 +08:00
parent 01325c543f
commit 37dd61558c
27 changed files with 762 additions and 344 deletions

View File

@ -5,7 +5,9 @@ from core.workflow.graph_events import BaseGraphEvent
class GraphRunStartedEvent(BaseGraphEvent):
pass
# is_resumption indicating whether this `start` is a
# resumption of previously suspended execution.
is_resumption: bool = False
class GraphRunSucceededEvent(BaseGraphEvent):