pub struct AgentDefaults {
pub workspace: String,
pub model: String,
pub max_tokens: i32,
pub temperature: f64,
pub max_tool_iterations: i32,
pub memory_window: i32,
}Expand description
Default agent settings.
Fields§
§workspace: StringWorking directory for agent file operations.
model: StringDefault LLM model identifier.
max_tokens: i32Maximum tokens in a single LLM response.
temperature: f64Sampling temperature.
max_tool_iterations: i32Maximum tool-use iterations per turn.
memory_window: i32Number of recent messages to include in context.
Trait Implementations§
Source§impl Clone for AgentDefaults
impl Clone for AgentDefaults
Source§fn clone(&self) -> AgentDefaults
fn clone(&self) -> AgentDefaults
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 AgentDefaults
impl Debug for AgentDefaults
Source§impl Default for AgentDefaults
impl Default for AgentDefaults
Source§impl<'de> Deserialize<'de> for AgentDefaults
impl<'de> Deserialize<'de> for AgentDefaults
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentDefaults
impl RefUnwindSafe for AgentDefaults
impl Send for AgentDefaults
impl Sync for AgentDefaults
impl Unpin for AgentDefaults
impl UnsafeUnpin for AgentDefaults
impl UnwindSafe for AgentDefaults
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