pub struct TurnLoopToolPhaseOutcome {
pub step_error_count: usize,
pub step_error_categories: Vec<ErrorCategory>,
pub break_outer_loop: bool,
pub loop_guard_halted: bool,
pub continue_outer_loop: bool,
}Expand description
Result of super::tool_phase::run_tool_execution_phase.
Fields§
§step_error_count: usize§step_error_categories: Vec<ErrorCategory>§break_outer_loop: boolstop_after_plan_tool or loop-guard halt — exit the outer turn loop.
loop_guard_halted: boolThe break was caused by a LoopGuard
halt (a tool failed too many times in a row), as opposed to a plan-mode
update_plan stop. Lets the outer loop offer a long-horizon
“change approach” continuation instead of a silent Completed.
continue_outer_loop: boolCapacity post-tool checkpoint requested another model step.
Trait Implementations§
Source§impl Debug for TurnLoopToolPhaseOutcome
impl Debug for TurnLoopToolPhaseOutcome
Source§impl Default for TurnLoopToolPhaseOutcome
impl Default for TurnLoopToolPhaseOutcome
Source§fn default() -> TurnLoopToolPhaseOutcome
fn default() -> TurnLoopToolPhaseOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TurnLoopToolPhaseOutcome
impl RefUnwindSafe for TurnLoopToolPhaseOutcome
impl Send for TurnLoopToolPhaseOutcome
impl Sync for TurnLoopToolPhaseOutcome
impl Unpin for TurnLoopToolPhaseOutcome
impl UnsafeUnpin for TurnLoopToolPhaseOutcome
impl UnwindSafe for TurnLoopToolPhaseOutcome
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