pub struct RunStats {
pub steps: usize,
pub tool_errors: usize,
pub loop_warnings: usize,
pub loop_aborts: usize,
pub patch_failures: usize,
pub successful_calls: usize,
pub completed: bool,
pub cost_chars: usize,
}Expand description
Telemetry from a single agent run.
Fields§
§steps: usizeTotal steps taken
tool_errors: usizeTool errors encountered
loop_warnings: usizeLoop warnings triggered
loop_aborts: usizeLoop aborts triggered
patch_failures: usizeapply_patch failures
successful_calls: usizeSuccessful tool calls
completed: boolTask completed (vs aborted)
cost_chars: usizeCost estimate (characters in/out)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunStats
impl<'de> Deserialize<'de> for RunStats
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 RunStats
impl RefUnwindSafe for RunStats
impl Send for RunStats
impl Sync for RunStats
impl Unpin for RunStats
impl UnsafeUnpin for RunStats
impl UnwindSafe for RunStats
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