pub struct RobitConfig {
pub default_model: Option<String>,
pub providers: HashMap<String, ProviderConfig>,
pub app: Option<AppConfig>,
pub channels: Option<ChannelsConfig>,
}Expand description
Top-level config.toml configuration.
Fields§
§default_model: Option<String>Default model in “provider/model” format (e.g. “deepseek/deepseek-chat”).
providers: HashMap<String, ProviderConfig>Provider definitions keyed by provider name.
app: Option<AppConfig>Application settings.
channels: Option<ChannelsConfig>Communication channel configurations (QQ Bot, Feishu, etc.).
Trait Implementations§
Source§impl Debug for RobitConfig
impl Debug for RobitConfig
Source§impl<'de> Deserialize<'de> for RobitConfig
impl<'de> Deserialize<'de> for RobitConfig
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 RobitConfig
impl RefUnwindSafe for RobitConfig
impl Send for RobitConfig
impl Sync for RobitConfig
impl Unpin for RobitConfig
impl UnsafeUnpin for RobitConfig
impl UnwindSafe for RobitConfig
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