pub struct ModelCycleConfig {
pub threshold_tokens: usize,
pub briefing_max_tokens: usize,
}Expand description
Per-model cycle tuning. Loaded from [cycle.per_model.<model>].
Fields§
§threshold_tokens: usizeToken threshold above which a cycle boundary fires.
briefing_max_tokens: usizeCap on the model-curated <carry_forward> briefing.
Trait Implementations§
Source§impl Clone for ModelCycleConfig
impl Clone for ModelCycleConfig
Source§fn clone(&self) -> ModelCycleConfig
fn clone(&self) -> ModelCycleConfig
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 ModelCycleConfig
impl Debug for ModelCycleConfig
Source§impl Default for ModelCycleConfig
impl Default for ModelCycleConfig
Source§impl<'de> Deserialize<'de> for ModelCycleConfig
impl<'de> Deserialize<'de> for ModelCycleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModelCycleConfig
Source§impl PartialEq for ModelCycleConfig
impl PartialEq for ModelCycleConfig
Source§fn eq(&self, other: &ModelCycleConfig) -> bool
fn eq(&self, other: &ModelCycleConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelCycleConfig
impl Serialize for ModelCycleConfig
impl StructuralPartialEq for ModelCycleConfig
Auto Trait Implementations§
impl Freeze for ModelCycleConfig
impl RefUnwindSafe for ModelCycleConfig
impl Send for ModelCycleConfig
impl Sync for ModelCycleConfig
impl Unpin for ModelCycleConfig
impl UnsafeUnpin for ModelCycleConfig
impl UnwindSafe for ModelCycleConfig
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