pub struct Defaults {
pub auto_approve: Option<bool>,
pub model: Option<String>,
pub provider: Option<String>,
pub max_turns: Option<u32>,
pub system_prompt: Option<String>,
}Expand description
Default settings applied when not overridden by CLI flags.
Fields§
§auto_approve: Option<bool>Auto-approve all actions (skip permission prompts)
model: Option<String>Default model size for all agents (small, medium, large)
provider: Option<String>Default provider (claude, codex, gemini, copilot)
max_turns: Option<u32>Default maximum number of agentic turns
system_prompt: Option<String>Default system prompt for all agents
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Defaults
impl<'de> Deserialize<'de> for Defaults
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 Defaults
impl RefUnwindSafe for Defaults
impl Send for Defaults
impl Sync for Defaults
impl Unpin for Defaults
impl UnsafeUnpin for Defaults
impl UnwindSafe for Defaults
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