pub enum ApprovalKind {
Plan,
Node {
node_id: String,
},
Tool {
node_id: String,
tool_name: String,
},
SpawnSubteam {
node_id: String,
suggested_roles: Vec<String>,
},
}Expand description
Describes what the human-in-the-loop gate is waiting for approval on.
Carried inside CouncilEvent::AwaitingApproval.
Variants§
Plan
Approval of the proposed TaskGraph plan before execution begins.
Node
Approval before a specific worker node starts executing.
Tool
Approval before a specific tool call within a worker node.
Fields
SpawnSubteam
Approval before dynamically spawning a sub-team from within a worker node.
Trait Implementations§
Source§impl Clone for ApprovalKind
impl Clone for ApprovalKind
Source§fn clone(&self) -> ApprovalKind
fn clone(&self) -> ApprovalKind
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 ApprovalKind
impl Debug for ApprovalKind
Source§impl<'de> Deserialize<'de> for ApprovalKind
impl<'de> Deserialize<'de> for ApprovalKind
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
Auto Trait Implementations§
impl Freeze for ApprovalKind
impl RefUnwindSafe for ApprovalKind
impl Send for ApprovalKind
impl Sync for ApprovalKind
impl Unpin for ApprovalKind
impl UnwindSafe for ApprovalKind
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