pub struct Continuation {
pub pause_point: PausePoint,
pub round: u32,
pub accounted_tool_calls: usize,
pub queued_inputs: Vec<TextPayload>,
}Expand description
The single continuation of a paused turn: everything resuming needs beyond the paused outcome’s fact state, the runner, the new options, and the new control. Rounds and quotas are read from here — never from the trace, which is observational and may be trimmed freely without changing where a resume continues or what it may spend.
Fields§
§pause_point: PausePointWhere and why the turn paused.
round: u32The round the continuation sits at: for an approval pause, the paused round whose batch executes first at resume (the loop then continues at round+1); for a steering pause, the first round whose model phase has not run yet.
accounted_tool_calls: usizeTool calls already counted against the turn’s quota at emission time (a paused batch was counted once, at emission — the resume never re-counts it). The authoritative control count across resumes.
queued_inputs: Vec<TextPayload>Inputs received but not yet committed. A resume commits them first
(user.steering label), before the resume request’s own inject —
“queued → injected → pulled” order; identical texts are independent
inputs and are never deduped.
Trait Implementations§
Source§impl Clone for Continuation
impl Clone for Continuation
Source§fn clone(&self) -> Continuation
fn clone(&self) -> Continuation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more