pub struct AgentOptions {
pub max_rounds: u32,
pub step_delay_ms: u64,
pub instruction: Option<String>,
}Expand description
Options for the autonomous agent loop.
Fields§
§max_rounds: u32Max automation rounds (default: 30).
step_delay_ms: u64Delay in ms after actions for page settle (default: 1500).
instruction: Option<String>Extra context/instruction for each round.
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 · 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 AgentOptions
impl Debug for AgentOptions
Auto 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