pub struct SummarisationThresholds {
pub max_messages: Option<usize>,
pub max_tokens: Option<usize>,
pub max_context_utilisation: Option<f32>,
}Expand description
Configuration thresholds for triggering summarisation.
Fields§
§max_messages: Option<usize>Trigger when message count exceeds this value.
max_tokens: Option<usize>Trigger when total token count exceeds this value (approximate).
max_context_utilisation: Option<f32>Trigger when context utilisation percentage exceeds this value (0.0–1.0).
Trait Implementations§
Source§impl Clone for SummarisationThresholds
impl Clone for SummarisationThresholds
Source§fn clone(&self) -> SummarisationThresholds
fn clone(&self) -> SummarisationThresholds
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 SummarisationThresholds
impl Debug for SummarisationThresholds
Auto Trait Implementations§
impl Freeze for SummarisationThresholds
impl RefUnwindSafe for SummarisationThresholds
impl Send for SummarisationThresholds
impl Sync for SummarisationThresholds
impl Unpin for SummarisationThresholds
impl UnsafeUnpin for SummarisationThresholds
impl UnwindSafe for SummarisationThresholds
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