pub enum NextAction {
RunSkill(String),
InvokeTool {
tool: String,
args: Value,
},
Conclude,
Discard,
}Expand description
Hint a skill may emit to drive subsequent skill selection. The agent loop is free to honour or ignore these — they are advisory.
Variants§
RunSkill(String)
Suggest a follow-up skill by id.
InvokeTool
Suggest invoking a named tool with prepared args.
Conclude
Stop the investigation; sufficient evidence has been gathered.
Discard
Drop the investigation; the entity is benign.
Trait Implementations§
Source§impl Clone for NextAction
impl Clone for NextAction
Source§fn clone(&self) -> NextAction
fn clone(&self) -> NextAction
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 NextAction
impl Debug for NextAction
Source§impl<'de> Deserialize<'de> for NextAction
impl<'de> Deserialize<'de> for NextAction
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 NextAction
impl RefUnwindSafe for NextAction
impl Send for NextAction
impl Sync for NextAction
impl Unpin for NextAction
impl UnsafeUnpin for NextAction
impl UnwindSafe for NextAction
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