pub struct ContextFill {
pub last_input_tokens: u64,
pub peak_input_tokens: u64,
pub window_tokens: Option<u64>,
}Expand description
How full a model’s context window was, measured by the reported input tokens of its requests, cache included.
Fields§
§last_input_tokens: u64Input tokens of the latest request: what the model last saw.
peak_input_tokens: u64Largest request input observed.
window_tokens: Option<u64>Context window of the model, or None when unknown.
Implementations§
Source§impl ContextFill
impl ContextFill
Trait Implementations§
Source§impl Clone for ContextFill
impl Clone for ContextFill
impl Copy for ContextFill
Source§impl Debug for ContextFill
impl Debug for ContextFill
impl Eq for ContextFill
Source§impl Hash for ContextFill
impl Hash for ContextFill
Source§impl PartialEq for ContextFill
impl PartialEq for ContextFill
impl StructuralPartialEq for ContextFill
Auto Trait Implementations§
impl Forget for ContextFill
impl Freeze for ContextFill
impl Move for ContextFill
impl RefUnwindSafe for ContextFill
impl Send for ContextFill
impl Sync for ContextFill
impl Unpin for ContextFill
impl UnsafeUnpin for ContextFill
impl UnwindSafe for ContextFill
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.