pub struct AdaptiveSkillsConfig {
pub context_fill_decay: f64,
pub min_remaining_context_ratio: f64,
pub recent_fire_boost_turns: usize,
pub model_max_context_tokens: u64,
}Fields§
§context_fill_decay: f64§min_remaining_context_ratio: f64§recent_fire_boost_turns: usize§model_max_context_tokens: u64Model max context window in tokens. Used to compute
context_fill_ratio = cumulative_input_tokens / model_max_context_tokens.
Default 200_000 (Claude 3.5/4.x).
Trait Implementations§
Source§impl Clone for AdaptiveSkillsConfig
impl Clone for AdaptiveSkillsConfig
Source§fn clone(&self) -> AdaptiveSkillsConfig
fn clone(&self) -> AdaptiveSkillsConfig
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 AdaptiveSkillsConfig
impl Debug for AdaptiveSkillsConfig
Source§impl Default for AdaptiveSkillsConfig
impl Default for AdaptiveSkillsConfig
Source§impl<'de> Deserialize<'de> for AdaptiveSkillsConfigwhere
AdaptiveSkillsConfig: Default,
impl<'de> Deserialize<'de> for AdaptiveSkillsConfigwhere
AdaptiveSkillsConfig: Default,
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
Auto Trait Implementations§
impl Freeze for AdaptiveSkillsConfig
impl RefUnwindSafe for AdaptiveSkillsConfig
impl Send for AdaptiveSkillsConfig
impl Sync for AdaptiveSkillsConfig
impl Unpin for AdaptiveSkillsConfig
impl UnsafeUnpin for AdaptiveSkillsConfig
impl UnwindSafe for AdaptiveSkillsConfig
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