pub struct DaemonConfig {
pub models: BTreeMap<CompactString, ProviderConfig>,
pub channels: BTreeMap<CompactString, ChannelConfig>,
pub mcp_servers: BTreeMap<CompactString, McpServerConfig>,
pub agents: AgentConfig,
}Expand description
Top-level daemon configuration.
Fields§
§models: BTreeMap<CompactString, ProviderConfig>LLM provider configurations keyed by a user-defined name.
If a provider’s model field is empty, it is filled from the key.
channels: BTreeMap<CompactString, ChannelConfig>Channel configurations keyed by a user-defined name.
If a channel’s platform field is empty, it is filled from the key.
mcp_servers: BTreeMap<CompactString, McpServerConfig>MCP server configurations.
agents: AgentConfigAgent configurations.
Implementations§
Trait Implementations§
Source§impl Debug for DaemonConfig
impl Debug for DaemonConfig
Source§impl Default for DaemonConfig
Available on non-crate feature local only.
impl Default for DaemonConfig
Available on non-crate feature
local only.Source§impl<'de> Deserialize<'de> for DaemonConfig
impl<'de> Deserialize<'de> for DaemonConfig
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 DaemonConfig
impl RefUnwindSafe for DaemonConfig
impl Send for DaemonConfig
impl Sync for DaemonConfig
impl Unpin for DaemonConfig
impl UnsafeUnpin for DaemonConfig
impl UnwindSafe for DaemonConfig
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