#[non_exhaustive]pub enum AgentCheckpointPhase {
Show 13 variants
ReadyForTurn,
TurnInFlight {
turn: u32,
},
Completed {
response: Box<ModelResponse>,
},
TerminalRequirementFailed {
failure: TerminalRequirementFailure,
attempts: u32,
},
TurnReviewReady {
response: Box<ModelResponse>,
turn: u32,
},
TurnReviewInFlight {
response: Box<ModelResponse>,
turn: u32,
},
TurnReviewApproved {
response: Box<ModelResponse>,
turn: u32,
},
TurnReviewRejected {
response: Box<ModelResponse>,
turn: u32,
reason: String,
attempts: u32,
},
TurnReviewExhausted {
response: Box<ModelResponse>,
turn: u32,
feedback: Value,
attempts: u32,
},
TerminalReviewReady {
response: Box<ModelResponse>,
attempt: u32,
},
TerminalReviewInFlight {
response: Box<ModelResponse>,
attempt: u32,
},
TerminalReviewRejected {
response: Box<ModelResponse>,
reason: String,
attempts: u32,
},
TerminalReviewExhausted {
response: Box<ModelResponse>,
feedback: Value,
attempts: u32,
},
}Expand description
Persisted Agent execution phase.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ReadyForTurn
Transcript is stable and ready for the next model turn.
TurnInFlight
A model-and-callable turn may have partially executed.
Completed
The Agent reached a terminal response.
Fields
response: Box<ModelResponse>Final canonical model response.
TerminalRequirementFailed
A terminal candidate failed its completion contract and cannot be repaired under the configured policy.
Fields
failure: TerminalRequirementFailureSafe failure details retained without the generated body.
TurnReviewReady
A selected model response is durable and has not entered internal turn review.
Fields
response: Box<ModelResponse>Response awaiting review before it can affect execution.
TurnReviewInFlight
Internal review of a durable model response may have partially executed.
Fields
response: Box<ModelResponse>Response supplied to the reviewer.
TurnReviewApproved
The response passed review and is durable while its tool plan is applied or its terminal path is completed.
Fields
response: Box<ModelResponse>Approved response reused during recovery without regeneration.
TurnReviewRejected
An internal reviewer permanently rejected a model response.
Fields
response: Box<ModelResponse>Response rejected by the reviewer.
TurnReviewExhausted
A turn repair verdict exceeded the configured review repair limit.
Fields
response: Box<ModelResponse>Last response that required another repair.
TerminalReviewReady
A locally valid candidate is durable and has not entered review.
Fields
response: Box<ModelResponse>Candidate awaiting semantic review.
TerminalReviewInFlight
Semantic review of a durable candidate may have partially executed.
Fields
response: Box<ModelResponse>Candidate supplied to the reviewer.
TerminalReviewRejected
A reviewer permanently rejected a terminal candidate.
Fields
response: Box<ModelResponse>Candidate rejected by the reviewer.
TerminalReviewExhausted
A repair verdict exceeded the configured review repair limit.
Trait Implementations§
Source§impl Clone for AgentCheckpointPhase
impl Clone for AgentCheckpointPhase
Source§fn clone(&self) -> AgentCheckpointPhase
fn clone(&self) -> AgentCheckpointPhase
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more