pub struct AgentConfig {
pub require_done_tool: bool,
pub max_iterations: u32,
pub system_prompt: Option<String>,
pub tool_choice: AgentToolChoice,
pub llm_max_retries: u32,
pub llm_retry_base_delay_ms: u64,
pub llm_retry_max_delay_ms: u64,
pub hidden_user_message_prompt: Option<String>,
}Fields§
§require_done_tool: bool§max_iterations: u32§system_prompt: Option<String>§tool_choice: AgentToolChoice§llm_max_retries: u32§llm_retry_base_delay_ms: u64§llm_retry_max_delay_ms: u64Trait 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
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