pub enum LoopOutcome {
Completed(String),
MaxIterationsReached {
last_output: String,
iterations: usize,
},
Cancelled,
TimedOut {
elapsed_secs: u64,
},
}Expand description
Outcome of a runner loop execution.
Variants§
Completed(String)
The agent produced a final response (no more tool calls).
MaxIterationsReached
The loop hit the maximum iteration limit.
Cancelled
The execution was cancelled externally.
TimedOut
The execution exceeded the configured timeout.
Implementations§
Source§impl LoopOutcome
impl LoopOutcome
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoopOutcome
impl RefUnwindSafe for LoopOutcome
impl Send for LoopOutcome
impl Sync for LoopOutcome
impl Unpin for LoopOutcome
impl UnsafeUnpin for LoopOutcome
impl UnwindSafe for LoopOutcome
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