pub enum PlanningMode {
Immediate,
PlanFirst,
}Expand description
Controls whether the agent executes tools immediately or presents a plan first.
Variants§
Immediate
Execute tool calls immediately (current behavior).
PlanFirst
Buffer tool calls and emit a plan for confirmation before executing.
Trait Implementations§
Source§impl Clone for PlanningMode
impl Clone for PlanningMode
Source§fn clone(&self) -> PlanningMode
fn clone(&self) -> PlanningMode
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 moreSource§impl Debug for PlanningMode
impl Debug for PlanningMode
Source§impl Default for PlanningMode
impl Default for PlanningMode
Source§fn default() -> PlanningMode
fn default() -> PlanningMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlanningMode
impl PartialEq for PlanningMode
Source§fn eq(&self, other: &PlanningMode) -> bool
fn eq(&self, other: &PlanningMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlanningMode
Auto Trait Implementations§
impl Freeze for PlanningMode
impl RefUnwindSafe for PlanningMode
impl Send for PlanningMode
impl Sync for PlanningMode
impl Unpin for PlanningMode
impl UnsafeUnpin for PlanningMode
impl UnwindSafe for PlanningMode
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