pub struct AgentAiOverride {
pub provider: Option<String>,
pub endpoint: Option<String>,
pub model: Option<String>,
pub api_key: Option<String>,
pub system: Option<String>,
pub max_tokens: Option<u32>,
pub temperature: Option<f32>,
pub reasoning: Option<bool>,
pub thinking: Option<bool>,
pub timeout_secs: Option<u64>,
}Expand description
Optional per-agent AI client overrides, from a top-level [ai] table in
the agent file.
Fields§
§provider: Option<String>§endpoint: Option<String>§model: Option<String>§api_key: Option<String>§system: Option<String>§max_tokens: Option<u32>§temperature: Option<f32>§reasoning: Option<bool>§thinking: Option<bool>§timeout_secs: Option<u64>Trait Implementations§
Source§impl Clone for AgentAiOverride
impl Clone for AgentAiOverride
Source§fn clone(&self) -> AgentAiOverride
fn clone(&self) -> AgentAiOverride
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentAiOverride
impl Debug for AgentAiOverride
Source§impl Default for AgentAiOverride
impl Default for AgentAiOverride
Source§fn default() -> AgentAiOverride
fn default() -> AgentAiOverride
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentAiOverridewhere
AgentAiOverride: Default,
impl<'de> Deserialize<'de> for AgentAiOverridewhere
AgentAiOverride: Default,
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 AgentAiOverride
impl RefUnwindSafe for AgentAiOverride
impl Send for AgentAiOverride
impl Sync for AgentAiOverride
impl Unpin for AgentAiOverride
impl UnsafeUnpin for AgentAiOverride
impl UnwindSafe for AgentAiOverride
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