pub enum HitlMode {
None,
ApprovePlan,
ApproveEachNode,
ApproveTools,
}Expand description
Controls when the orchestrator executor pauses to request human approval.
Variants are ordered from least to most restrictive; each variant implies all approvals required by lower variants.
Variants§
None
Execute the graph without any human-in-the-loop gates.
ApprovePlan
Pause once after the plan is produced so the user can review (and
optionally edit) the full TaskGraph before execution begins.
ApproveEachNode
Pause before each node executes (implies ApprovePlan).
Use this when the goal is sensitive and each step must be vetted individually.
ApproveTools
Pause before each individual tool call a worker makes
(implies ApproveEachNode).
This is the most restrictive mode; it is primarily useful for debugging or for high-stakes automation contexts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HitlMode
impl<'de> Deserialize<'de> for HitlMode
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
Source§impl Ord for HitlMode
impl Ord for HitlMode
Source§impl PartialOrd for HitlMode
impl PartialOrd for HitlMode
impl Eq for HitlMode
impl StructuralPartialEq for HitlMode
Auto Trait Implementations§
impl Freeze for HitlMode
impl RefUnwindSafe for HitlMode
impl Send for HitlMode
impl Sync for HitlMode
impl Unpin for HitlMode
impl UnwindSafe for HitlMode
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