pub enum TurnStopDecision {
Stop,
Steer {
content: Vec<ContentBlock>,
},
}Expand description
Whether a turn that owes no tool result may close. Steer appends the
content as a logged user message and runs another step instead.
Variants§
Stop
Close the turn.
Steer
Append content as a logged user message and run one more step.
Fields
§
content: Vec<ContentBlock>Steering input.
Trait Implementations§
Source§impl Clone for TurnStopDecision
impl Clone for TurnStopDecision
Source§fn clone(&self) -> TurnStopDecision
fn clone(&self) -> TurnStopDecision
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 TurnStopDecision
impl Debug for TurnStopDecision
Source§impl PartialEq for TurnStopDecision
impl PartialEq for TurnStopDecision
impl StructuralPartialEq for TurnStopDecision
Auto Trait Implementations§
impl Freeze for TurnStopDecision
impl RefUnwindSafe for TurnStopDecision
impl Send for TurnStopDecision
impl Sync for TurnStopDecision
impl Unpin for TurnStopDecision
impl UnsafeUnpin for TurnStopDecision
impl UnwindSafe for TurnStopDecision
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