pub struct EngineConfig {
pub server: ServerConfig,
pub tool_output: ToolOutputConfig,
pub agent_md: AgentMdConfig,
pub approval: ApprovalConfig,
pub model_retry: ModelRetryConfig,
pub context_compaction: ContextCompactionConfig,
pub session_title: SessionTitleConfig,
pub delegation: DelegationConfig,
pub messaging: MessagingConfig,
pub pricing: PricingConfig,
pub headers: BTreeMap<HeaderName, SafeStaticHeaderValue>,
pub providers: BTreeMap<ProviderId, ProviderDefinition>,
}Expand description
The decoded settings tables of config.toml: one field per settings table
(for example [messaging] → EngineConfig::messaging). [mcp] and
[plugins] decode separately onto crate::LoadedConfiguration. Exposed
on crate::LoadedConfiguration::runtime.
Fields§
§server: ServerConfig§tool_output: ToolOutputConfig§agent_md: AgentMdConfig§approval: ApprovalConfig§model_retry: ModelRetryConfig§context_compaction: ContextCompactionConfig§session_title: SessionTitleConfig§delegation: DelegationConfig§messaging: MessagingConfig§pricing: PricingConfig§headers: BTreeMap<HeaderName, SafeStaticHeaderValue>§providers: BTreeMap<ProviderId, ProviderDefinition>Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
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 EngineConfig
impl Debug for EngineConfig
Source§impl<'de> Deserialize<'de> for EngineConfig
impl<'de> Deserialize<'de> for EngineConfig
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 EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
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