pub enum CompletionReason {
Done,
MaxIterations,
EndOfSequence,
}Variants§
Done
Model finished generating (no more tool calls).
MaxIterations
Maximum iterations reached.
EndOfSequence
Model generated EOS token.
Trait Implementations§
Source§impl Clone for CompletionReason
impl Clone for CompletionReason
Source§fn clone(&self) -> CompletionReason
fn clone(&self) -> CompletionReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompletionReason
impl RefUnwindSafe for CompletionReason
impl Send for CompletionReason
impl Sync for CompletionReason
impl Unpin for CompletionReason
impl UnsafeUnpin for CompletionReason
impl UnwindSafe for CompletionReason
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