pub struct AgentConfig {
pub system_prompt: Option<String>,
pub enable_thought: bool,
pub enable_thinking: Option<bool>,
pub max_turns: Option<u32>,
pub tool_timeout_ms: Option<u64>,
pub max_tool_output_chars: Option<usize>,
pub response_format: Option<ResponseFormat>,
pub llm_retry: Option<RetryConfig>,
}Fields§
§system_prompt: Option<String>§enable_thought: bool§enable_thinking: Option<bool>§max_turns: Option<u32>§tool_timeout_ms: Option<u64>§max_tool_output_chars: Option<usize>§response_format: Option<ResponseFormat>§llm_retry: Option<RetryConfig>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 (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 AgentConfig
impl Debug for AgentConfig
Auto 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