Struct Adaptive Config

View as Markdown

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

pub struct AdaptiveConfig {
    pub version: u32,
    pub agent_id: Option<String>,
    pub state: Option<StateConfig>,
    pub telemetry: Option<TelemetryComponentConfig>,
    pub adaptive_hints: Option<AdaptiveHintsComponentConfig>,
    pub tool_parallelism: Option<ToolParallelismComponentConfig>,
    pub acg: Option<AcgComponentConfig>,
    pub policy: ConfigPolicy,
}

Canonical config document for the adaptive plugin component.

Fields

version: u32

Adaptive config schema version.

agent_id: Option<String>

Fallback agent identifier used when no Agent scope is active. Scoped runtime calls use the active Agent scope name instead.

state: Option<StateConfig>

Shared state backend configuration.

telemetry: Option<TelemetryComponentConfig>

Built-in adaptive telemetry settings.

adaptive_hints: Option<AdaptiveHintsComponentConfig>

Built-in LLM hint injection settings.

tool_parallelism: Option<ToolParallelismComponentConfig>

Built-in tool scheduling settings.

acg: Option<AcgComponentConfig>

Adaptive Cache Governor settings.

policy: ConfigPolicy

Adaptive-local unsupported-config policy.

Trait Implementations

impl Clone for AdaptiveConfig

impl Clone for AdaptiveConfig

clone

fn clone(&self) -> AdaptiveConfig

clone_from

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

impl Debug for AdaptiveConfig

impl Debug for AdaptiveConfig

fmt

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

impl Default for AdaptiveConfig

impl Default for AdaptiveConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for AdaptiveConfig

impl<'de> Deserialize<'de> for AdaptiveConfig

deserialize

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

impl EditorConfig for AdaptiveConfig

impl EditorConfig for AdaptiveConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for AdaptiveConfig

impl Serialize for AdaptiveConfig

serialize

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