pub struct RecoveryAttempt {
pub output_limit_escalations: u32,
pub current_max_tokens: u32,
}Expand description
How many times this turn has already tried to recover.
Fields§
§output_limit_escalations: u32Output-limit escalations so far in this turn.
current_max_tokens: u32The limit currently in force.
Trait Implementations§
Source§impl Clone for RecoveryAttempt
impl Clone for RecoveryAttempt
impl Copy for RecoveryAttempt
Source§impl Debug for RecoveryAttempt
impl Debug for RecoveryAttempt
impl Eq for RecoveryAttempt
Source§impl PartialEq for RecoveryAttempt
impl PartialEq for RecoveryAttempt
impl StructuralPartialEq for RecoveryAttempt
Auto Trait Implementations§
impl Forget for RecoveryAttempt
impl Freeze for RecoveryAttempt
impl Move for RecoveryAttempt
impl RefUnwindSafe for RecoveryAttempt
impl Send for RecoveryAttempt
impl Sync for RecoveryAttempt
impl Unpin for RecoveryAttempt
impl UnsafeUnpin for RecoveryAttempt
impl UnwindSafe for RecoveryAttempt
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