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

@ -15,6 +15,7 @@ class NodeRunStartedEvent(GraphNodeEventBase):
predecessor_node_id: str | None = None
agent_strategy: AgentNodeStrategyInit | None = None
start_at: datetime = Field(..., description="node start time")
is_resumption: bool = False
# FIXME(-LAN-): only for ToolNode
provider_type: str = ""