pub struct AppConfig {
pub log_level: Option<String>,
pub log_file: Option<bool>,
pub log_retention_days: Option<u32>,
pub max_steps: Option<usize>,
pub enabled_tools: Option<Vec<String>>,
pub enabled_skills: Option<Vec<String>>,
pub context: Option<ContextConfig>,
pub retry: Option<RetryConfig>,
pub auto_approve: Option<bool>,
pub global_storage: Option<bool>,
pub bot: Option<BotConfig>,
}Fields§
§log_level: Option<String>§log_file: Option<bool>Whether to log to file (default: false).
log_retention_days: Option<u32>Days of daily log files to keep. On startup, robit-YYYY-MM-DD.log
files older than this are deleted. None = default 14 days; Some(0)
disables cleanup (keep all). Only robit-*.log files are touched.
max_steps: Option<usize>§enabled_tools: Option<Vec<String>>§enabled_skills: Option<Vec<String>>§context: Option<ContextConfig>§retry: Option<RetryConfig>§auto_approve: Option<bool>§global_storage: Option<bool>§bot: Option<BotConfig>Bot platform settings (shared across Bot frontends).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConfig
impl<'de> Deserialize<'de> for AppConfig
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 AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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