Skip to main content

Module workflow

Module workflow 

Source

Structs§

LlmStats
WorkflowGraph
WorkflowNode

Enums§

ApprovalState
NodeStatus
Parallelism
WorkflowNodeKind

Functions§

rebuild_messages_for_run
Rebuild a single FlowRun’s message segment from the event log, filtered by run_id. Returns AssistantMsg + ToolResultMsg messages tagged with the given flow_run_id, in event order.
rebuild_workflow_tree
Rebuild a full workflow tree from a session’s event log. Replays every FlowStart / FlowNodeStart / FlowNodeEnd / FlowEnd / FlowGraph event through a fresh WorkflowGraph so the complete executor tree (root + subflows) is restored on session reopen.