pub struct AgentRuntimeOptions {
pub system_prompt: Option<String>,
pub temperature: Option<f32>,
pub max_tokens: Option<u32>,
pub max_iter: u32,
pub max_consecutive_fail_count: u32,
pub tools: ToolRegistry,
pub skill_dirs: Vec<PathBuf>,
pub middleware: MiddlewareChain,
pub messages: MessageChannel,
pub retry_backoff: Duration,
pub tool_timeout: Duration,
}Fields§
§system_prompt: Option<String>§temperature: Option<f32>§max_tokens: Option<u32>§max_iter: u32§max_consecutive_fail_count: u32§tools: ToolRegistry§skill_dirs: Vec<PathBuf>§middleware: MiddlewareChain§messages: MessageChannel§retry_backoff: Duration§tool_timeout: DurationTrait Implementations§
Source§impl Clone for AgentRuntimeOptions
impl Clone for AgentRuntimeOptions
Source§fn clone(&self) -> AgentRuntimeOptions
fn clone(&self) -> AgentRuntimeOptions
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for AgentRuntimeOptions
impl !UnwindSafe for AgentRuntimeOptions
impl Freeze for AgentRuntimeOptions
impl Send for AgentRuntimeOptions
impl Sync for AgentRuntimeOptions
impl Unpin for AgentRuntimeOptions
impl UnsafeUnpin for AgentRuntimeOptions
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