pub struct AgentConfig {
pub model: Model,
pub thinking_level: ThinkingLevel,
pub tool_execution: ToolExecutionMode,
pub security: SecurityConfig,
pub steering_mode: QueueMode,
pub follow_up_mode: QueueMode,
pub thinking_budgets: Option<ThinkingBudgets>,
pub transport: Transport,
pub max_retry_delay_ms: Option<u64>,
}Expand description
Agent configuration.
Fields§
§model: ModelModel to use.
thinking_level: ThinkingLevelThinking level.
tool_execution: ToolExecutionModeTool execution mode.
security: SecurityConfigSecurity and resource limits.
steering_mode: QueueModeSteering queue delivery mode.
follow_up_mode: QueueModeFollow-up queue delivery mode.
thinking_budgets: Option<ThinkingBudgets>Custom thinking budgets per level.
transport: TransportPreferred transport.
max_retry_delay_ms: Option<u64>Maximum retry delay in milliseconds. None = use default (60_000ms).
Set to Some(0) to disable the cap entirely.
Implementations§
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 moreAuto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin 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