pub struct AgentOptions {
pub model: String,
pub max_steps: usize,
pub max_output_tokens: Option<u32>,
pub history_context_tokens: usize,
}Fields§
§model: String§max_steps: usize§max_output_tokens: Option<u32>§history_context_tokens: usizeImplementations§
Trait Implementations§
Source§impl Clone for AgentOptions
impl Clone for AgentOptions
Source§fn clone(&self) -> AgentOptions
fn clone(&self) -> AgentOptions
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 Freeze for AgentOptions
impl RefUnwindSafe for AgentOptions
impl Send for AgentOptions
impl Sync for AgentOptions
impl Unpin for AgentOptions
impl UnsafeUnpin for AgentOptions
impl UnwindSafe for AgentOptions
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