pub struct Attempt {Show 15 fields
pub id: i64,
pub run_id: i64,
pub n: i64,
pub agent: String,
pub prompt: String,
pub feedback: Option<String>,
pub started_at: i64,
pub seconds: Option<i64>,
pub cost_usd: Option<f64>,
pub summary: Option<String>,
pub verify: Option<String>,
pub verify_ok: Option<bool>,
pub error: Option<String>,
pub outcome: Option<String>,
pub model: Option<String>,
}Expand description
One agent invocation and the verification that followed it. Rows are appended and never updated, so a rework cannot overwrite what the previous attempt did.
Fields§
§id: i64§run_id: i64§n: i641 for the first attempt, then one per rework.
agent: String§prompt: String§feedback: Option<String>The reviewer feedback this attempt was given, if any.
started_at: i64§seconds: Option<i64>Agent and verify time for this attempt alone.
cost_usd: Option<f64>None when the agent reports no cost. Never zero for unknown.
summary: Option<String>§verify: Option<String>§verify_ok: Option<bool>§error: Option<String>§outcome: Option<String>The state the run reached: ready or failed. Null for the attempt
reconstructed from a run that predates this table.
model: Option<String>The model this attempt ran, or None for the worker’s own default.
Trait Implementations§
impl StructuralPartialEq for Attempt
Auto Trait Implementations§
impl Freeze for Attempt
impl RefUnwindSafe for Attempt
impl Send for Attempt
impl Sync for Attempt
impl Unpin for Attempt
impl UnsafeUnpin for Attempt
impl UnwindSafe for Attempt
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