pub struct AgentRuntimeConfig {Show 16 fields
pub provider: Arc<dyn LlmProvider>,
pub model: String,
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 checkpoint_storage: Arc<dyn CheckpointStorage>,
pub transcript_storage: Arc<dyn TranscriptStorage>,
pub sandbox: Arc<dyn Sandbox>,
pub tools: ToolRegistry,
pub skill_dirs: Vec<PathBuf>,
pub middleware: MiddlewareChain,
pub messages: MessageChannel,
pub retry_backoff: Duration,
pub tool_timeout: Duration,
}Fields§
§provider: Arc<dyn LlmProvider>§model: String§system_prompt: Option<String>§temperature: Option<f32>§max_tokens: Option<u32>§max_iter: u32§max_consecutive_fail_count: u32§checkpoint_storage: Arc<dyn CheckpointStorage>§transcript_storage: Arc<dyn TranscriptStorage>§sandbox: Arc<dyn Sandbox>§tools: ToolRegistry§skill_dirs: Vec<PathBuf>§middleware: MiddlewareChain§messages: MessageChannel§retry_backoff: Duration§tool_timeout: DurationImplementations§
Source§impl AgentRuntimeConfig
impl AgentRuntimeConfig
pub fn new(input: AgentRuntimeConfigInput) -> Self
Trait Implementations§
Source§impl Clone for AgentRuntimeConfig
impl Clone for AgentRuntimeConfig
Source§fn clone(&self) -> AgentRuntimeConfig
fn clone(&self) -> AgentRuntimeConfig
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 AgentRuntimeConfig
impl !UnwindSafe for AgentRuntimeConfig
impl Freeze for AgentRuntimeConfig
impl Send for AgentRuntimeConfig
impl Sync for AgentRuntimeConfig
impl Unpin for AgentRuntimeConfig
impl UnsafeUnpin for AgentRuntimeConfig
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