Struct AcgComponent Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct AcgComponentConfig {
    pub provider: String,
    pub observation_window: usize,
    pub priority: i32,
    pub stability_thresholds: StabilityThresholds,
}

Typed helper for the built-in Adaptive Cache Governor (ACG) component.

Fields

provider: String

Which provider plugin to activate (e.g. “anthropic”, “openai”, “passthrough”).

observation_window: usize

Rolling observation window size. Default: 100.

priority: i32

LLM execution intercept priority. Default: 50.

stability_thresholds: StabilityThresholds

Stability classification thresholds used by the learner.

Trait Implementations

impl Clone for AcgComponentConfig

impl Clone for AcgComponentConfig

clone

fn clone(&self) -> AcgComponentConfig

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AcgComponentConfig

impl Debug for AcgComponentConfig

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for AcgComponentConfig

impl Default for AcgComponentConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for AcgComponentConfig

impl<'de> Deserialize<'de> for AcgComponentConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl EditorConfig for AcgComponentConfig

impl EditorConfig for AcgComponentConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for AcgComponentConfig

impl Serialize for AcgComponentConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,