pub struct AgentConfig {
pub model: String,
pub variant: Option<String>,
pub temperature: Option<f64>,
pub reasoning_effort: Option<String>,
}Expand description
Agent configuration with model and optional extended options
Fields§
§model: StringModel ID (e.g., “anthropic/claude-haiku-4-5” or “haiku” for Claude Code)
variant: Option<String>Optional variant (e.g., “high”, “xhigh”)
temperature: Option<f64>Optional temperature
reasoning_effort: Option<String>Optional reasoning effort (for OpenAI models)
Trait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
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 AgentConfig
impl Debug for AgentConfig
Source§impl Default for AgentConfig
impl Default for AgentConfig
Source§fn default() -> AgentConfig
fn default() -> AgentConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnwindSafe for AgentConfig
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