pub enum HandoffInteractionMode {
HumanInLoop,
Autonomous,
}Expand description
Whether the workflow pauses for fresh user input between agent turns.
Variants§
HumanInLoop
After an agent answers without handing off, request the next user
message via the engine’s request-info machinery (the default; mirrors
Python’s human_in_loop).
Autonomous
Complete the workflow on the first non-handoff answer (single-shot).
Trait Implementations§
Source§impl Clone for HandoffInteractionMode
impl Clone for HandoffInteractionMode
Source§fn clone(&self) -> HandoffInteractionMode
fn clone(&self) -> HandoffInteractionMode
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 moreimpl Copy for HandoffInteractionMode
Source§impl Debug for HandoffInteractionMode
impl Debug for HandoffInteractionMode
Source§impl Default for HandoffInteractionMode
impl Default for HandoffInteractionMode
Source§fn default() -> HandoffInteractionMode
fn default() -> HandoffInteractionMode
Returns the “default value” for a type. Read more
impl Eq for HandoffInteractionMode
Source§impl PartialEq for HandoffInteractionMode
impl PartialEq for HandoffInteractionMode
impl StructuralPartialEq for HandoffInteractionMode
Auto Trait Implementations§
impl Freeze for HandoffInteractionMode
impl RefUnwindSafe for HandoffInteractionMode
impl Send for HandoffInteractionMode
impl Sync for HandoffInteractionMode
impl Unpin for HandoffInteractionMode
impl UnsafeUnpin for HandoffInteractionMode
impl UnwindSafe for HandoffInteractionMode
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