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,
}Expand description
Canonical config document for the adaptive plugin component.
Fields§
§version: u32Adaptive config schema version.
agent_id: Option<String>Optional explicit agent identifier used by adaptive state.
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: ConfigPolicyAdaptive-local unsupported-config policy.
Trait Implementations§
Source§impl Clone for AdaptiveConfig
impl Clone for AdaptiveConfig
Source§fn clone(&self) -> AdaptiveConfig
fn clone(&self) -> AdaptiveConfig
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 AdaptiveConfig
impl Debug for AdaptiveConfig
Source§impl Default for AdaptiveConfig
impl Default for AdaptiveConfig
Source§impl<'de> Deserialize<'de> for AdaptiveConfig
impl<'de> Deserialize<'de> for AdaptiveConfig
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 AdaptiveConfig
impl RefUnwindSafe for AdaptiveConfig
impl Send for AdaptiveConfig
impl Sync for AdaptiveConfig
impl Unpin for AdaptiveConfig
impl UnsafeUnpin for AdaptiveConfig
impl UnwindSafe for AdaptiveConfig
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