pub struct ModelRoundTrace {
pub round_id: RoundId,
pub invocation_id: InvocationId,
pub frame_version: ContextVersion,
pub attempts: Vec<AttemptTrace>,
pub output_summary: Option<OutputSummary>,
pub applied_block_ids: Vec<BlockId>,
pub tool_batch: Option<ToolBatchTrace>,
}Expand description
One model round: framing, attempts, output, applied blocks, and its tool batch (when any).
Fields§
§round_id: RoundId0-based round index within the turn.
invocation_id: InvocationIdTurn + round identity every attempt of the round shares (a retry bumps only the attempt number).
frame_version: ContextVersionThe source_version at frame materialization (the version before apply).
attempts: Vec<AttemptTrace>One entry per model attempt, in order.
output_summary: Option<OutputSummary>None when no output was produced (every attempt failed).
applied_block_ids: Vec<BlockId>Ids of the blocks the model door committed this round (optional text first, then one tool call per draft).
tool_batch: Option<ToolBatchTrace>The dispatched batch, when the round dispatched tools.
Trait Implementations§
Source§impl Clone for ModelRoundTrace
impl Clone for ModelRoundTrace
Source§fn clone(&self) -> ModelRoundTrace
fn clone(&self) -> ModelRoundTrace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelRoundTrace
impl Debug for ModelRoundTrace
Source§impl<'de> Deserialize<'de> for ModelRoundTrace
impl<'de> Deserialize<'de> for ModelRoundTrace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModelRoundTrace
impl RefUnwindSafe for ModelRoundTrace
impl Send for ModelRoundTrace
impl Sync for ModelRoundTrace
impl Unpin for ModelRoundTrace
impl UnsafeUnpin for ModelRoundTrace
impl UnwindSafe for ModelRoundTrace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more