pub struct AgentDefaults {
pub workspace: String,
pub provider: Option<String>,
pub model: String,
pub max_tokens: u32,
pub temperature: f32,
pub max_tool_iterations: u32,
pub reasoning_effort: Option<String>,
}Expand description
Default agent settings
Fields§
§workspace: StringWorkspace directory
provider: Option<String>Explicit default provider selection
model: StringDefault model
max_tokens: u32Maximum tokens
temperature: f32Temperature
max_tool_iterations: u32Maximum tool iterations
reasoning_effort: Option<String>Optional reasoning effort for thinking-capable models (low/medium/high)
Trait Implementations§
Source§impl Clone for AgentDefaults
impl Clone for AgentDefaults
Source§fn clone(&self) -> AgentDefaults
fn clone(&self) -> AgentDefaults
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentDefaults
impl Debug for AgentDefaults
Source§impl Default for AgentDefaults
impl Default for AgentDefaults
Source§impl<'de> Deserialize<'de> for AgentDefaults
impl<'de> Deserialize<'de> for AgentDefaults
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 AgentDefaults
impl RefUnwindSafe for AgentDefaults
impl Send for AgentDefaults
impl Sync for AgentDefaults
impl Unpin for AgentDefaults
impl UnsafeUnpin for AgentDefaults
impl UnwindSafe for AgentDefaults
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