pub struct TurnTrace {
pub rounds: Vec<ModelRoundTrace>,
pub tool_calls_total: usize,
pub total_duration_ms: u64,
}Expand description
The turn’s trace: one record per model round plus totals.
Fields§
§rounds: Vec<ModelRoundTrace>Rounds in execution order — including rounds whose invocation never produced output.
tool_calls_total: usizeTotal tool calls emitted, counted at dispatch time (a paused batch counts once, at emission — the resume does not re-count).
total_duration_ms: u64Wall-clock duration of this run in milliseconds (a resumed continuation measures only the continuation).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TurnTrace
impl<'de> Deserialize<'de> for TurnTrace
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 TurnTrace
impl RefUnwindSafe for TurnTrace
impl Send for TurnTrace
impl Sync for TurnTrace
impl Unpin for TurnTrace
impl UnsafeUnpin for TurnTrace
impl UnwindSafe for TurnTrace
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