pub struct AgentCheckpointState {Show 16 fields
pub execution_id: String,
pub agent: String,
pub model: ModelRef,
pub transcript: Vec<Message>,
pub turns: u32,
pub tool_calls: u32,
pub delegations: u32,
pub usage: Usage,
pub turn_reviewer: Option<TerminalReviewerDescriptor>,
pub turn_review_policy: Option<TurnReviewPolicy>,
pub turn_reviewer_capabilities: Vec<CapabilityId>,
pub terminal_reviewer: Option<TerminalReviewerDescriptor>,
pub terminal_review_policy: Option<TerminalReviewPolicy>,
pub terminal_reviewer_capabilities: Vec<CapabilityId>,
pub phase: AgentCheckpointPhase,
pub durable_conversation: Option<DurableConversationCheckpoint>,
}Expand description
Versioned Agent state stored in a domain-neutral checkpoint envelope.
Fields§
§execution_id: StringStable logical execution identity used for callable idempotency.
agent: StringAgent identity expected during recovery.
model: ModelRefModel identity expected during recovery.
transcript: Vec<Message>Canonical transcript at the last stable boundary.
turns: u32Completed model turns.
tool_calls: u32Completed local tool attempts.
delegations: u32Completed successful delegations.
usage: UsageShared usage snapshot at persistence time.
turn_reviewer: Option<TerminalReviewerDescriptor>Stable internal-turn reviewer identity expected throughout recovery.
turn_review_policy: Option<TurnReviewPolicy>Internal-turn review scope and repair limit expected during recovery.
turn_reviewer_capabilities: Vec<CapabilityId>Stable capabilities delegated to the internal-turn reviewer.
terminal_reviewer: Option<TerminalReviewerDescriptor>Stable reviewer identity expected throughout recovery.
terminal_review_policy: Option<TerminalReviewPolicy>Terminal-review repair limit expected during recovery.
terminal_reviewer_capabilities: Vec<CapabilityId>Stable capabilities delegated to the terminal reviewer.
phase: AgentCheckpointPhaseCurrent recovery phase.
durable_conversation: Option<DurableConversationCheckpoint>Atomic conversation commit metadata, when this is a durable turn.
Trait Implementations§
Source§impl Clone for AgentCheckpointState
impl Clone for AgentCheckpointState
Source§fn clone(&self) -> AgentCheckpointState
fn clone(&self) -> AgentCheckpointState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more