pub struct AcgComponentConfig {
pub provider: String,
pub observation_window: usize,
pub priority: i32,
pub stability_thresholds: StabilityThresholds,
}Expand description
Typed helper for the built-in Adaptive Cache Governor (ACG) component.
Fields§
§provider: StringWhich provider plugin to activate (e.g. “anthropic”, “openai”, “passthrough”).
observation_window: usizeRolling observation window size. Default: 100.
priority: i32LLM execution intercept priority. Default: 50.
stability_thresholds: StabilityThresholdsStability classification thresholds used by the learner.
Trait Implementations§
Source§impl Clone for AcgComponentConfig
impl Clone for AcgComponentConfig
Source§fn clone(&self) -> AcgComponentConfig
fn clone(&self) -> AcgComponentConfig
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 AcgComponentConfig
impl Debug for AcgComponentConfig
Source§impl Default for AcgComponentConfig
impl Default for AcgComponentConfig
Source§impl<'de> Deserialize<'de> for AcgComponentConfig
impl<'de> Deserialize<'de> for AcgComponentConfig
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 AcgComponentConfig
impl RefUnwindSafe for AcgComponentConfig
impl Send for AcgComponentConfig
impl Sync for AcgComponentConfig
impl Unpin for AcgComponentConfig
impl UnsafeUnpin for AcgComponentConfig
impl UnwindSafe for AcgComponentConfig
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