pub enum StepOutcome {
Skipped,
Completed {
usage: Option<Usage>,
context_window: usize,
},
}Expand description
The result of one step (see AgentSystem::step).
Variants§
Skipped
No input was actionable — no completion ran. (Deferred, duplicate, or out-of-band inputs such as OAuth challenges land here.)
Completed
A completion round ran (it may have dispatched a tool call, which will deliver its result as a later input).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepOutcome
impl RefUnwindSafe for StepOutcome
impl Send for StepOutcome
impl Sync for StepOutcome
impl Unpin for StepOutcome
impl UnsafeUnpin for StepOutcome
impl UnwindSafe for StepOutcome
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