pub struct FailureReport {
pub failing_sub_goal: String,
pub failing_step: String,
pub attempts: Vec<String>,
}Expand description
Structured explanation for why the agent stopped before success.
Always surfaced verbatim to the caller — the CLI prints it, the eval harness matches on it, the MCP response includes it. No lossy formatting.
Fields§
§failing_sub_goal: StringNatural-language purpose of the sub-goal that was active when we
gave up. Matches SubGoal.purpose exactly.
failing_step: StringNatural-language purpose of the specific step that exhausted
its retry budget. Matches Step.purpose exactly.
attempts: Vec<String>Error messages from each attempt, oldest first. Capped at the
configured step-retry budget (default 3). Each entry is the
StepResult::Err { message } from one attempt.
Trait Implementations§
Source§impl Clone for FailureReport
impl Clone for FailureReport
Source§fn clone(&self) -> FailureReport
fn clone(&self) -> FailureReport
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 FailureReport
impl Debug for FailureReport
Source§impl<'de> Deserialize<'de> for FailureReport
impl<'de> Deserialize<'de> for FailureReport
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 FailureReport
impl RefUnwindSafe for FailureReport
impl Send for FailureReport
impl Sync for FailureReport
impl Unpin for FailureReport
impl UnsafeUnpin for FailureReport
impl UnwindSafe for FailureReport
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