Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

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,
}

Referenced types: u32, Option, String, StateConfig, TelemetryComponentConfig, AdaptiveHintsComponentConfig, ToolParallelismComponentConfig, AcgComponentConfig

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

Referenced types: Clone, AdaptiveConfig

clone

fn clone(&self) -> AdaptiveConfig

Referenced types: clone, AdaptiveConfig

clone_from

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

Referenced types: clone_from

impl Debug for AdaptiveConfig

impl Debug for AdaptiveConfig

Referenced types: Debug, AdaptiveConfig

fmt

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

Referenced types: fmt, Formatter, Result

impl Default for AdaptiveConfig

impl Default for AdaptiveConfig

Referenced types: Default, AdaptiveConfig

default

fn default() -> Self

Referenced types: default

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

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

Referenced types: Deserialize, AdaptiveConfig

deserialize

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

Referenced types: deserialize, Result, Error, Deserializer

impl EditorConfig for AdaptiveConfig

impl EditorConfig for AdaptiveConfig

Referenced types: AdaptiveConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for AdaptiveConfig

impl Serialize for AdaptiveConfig

Referenced types: Serialize, AdaptiveConfig

serialize

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

Referenced types: serialize, Result, Ok, Error, Serializer