pub enum CompactWindow {
Window(u64),
Tuned,
Invalid(String),
}Expand description
Resolved auto-compact window configuration for the status line.
Variants§
Window(u64)
An explicit token window (100_000..=1_000_000).
Tuned
Use the model’s own context window (nothing set, or "auto").
Invalid(String)
An invalid setting or unreadable/unparseable settings file, with a description.
Trait Implementations§
Source§impl Clone for CompactWindow
impl Clone for CompactWindow
Source§impl Debug for CompactWindow
impl Debug for CompactWindow
impl Eq for CompactWindow
Source§impl PartialEq for CompactWindow
impl PartialEq for CompactWindow
impl StructuralPartialEq for CompactWindow
Auto Trait Implementations§
impl Forget for CompactWindow
impl Freeze for CompactWindow
impl Move for CompactWindow
impl RefUnwindSafe for CompactWindow
impl Send for CompactWindowwhere
RawVecInner: Send,
impl Sync for CompactWindowwhere
RawVecInner: Sync,
impl Unpin for CompactWindow
impl UnsafeUnpin for CompactWindow
impl UnwindSafe for CompactWindowwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.