pub enum AgentSwarmModeTrigger {
Manual,
Task,
Tool,
}Expand description
How a swarm-mode session was entered.
manual is a persistent toggle (/agent-swarm on); task is a one-shot
/agent-swarm <prompt>; tool is implicit entry from the agent_swarm
tool call. Only manual stays active across turns.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AgentSwarmModeTrigger
impl Clone for AgentSwarmModeTrigger
impl Copy for AgentSwarmModeTrigger
Source§impl Debug for AgentSwarmModeTrigger
impl Debug for AgentSwarmModeTrigger
Source§impl<'de> Deserialize<'de> for AgentSwarmModeTrigger
impl<'de> Deserialize<'de> for AgentSwarmModeTrigger
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
impl Eq for AgentSwarmModeTrigger
Source§impl PartialEq for AgentSwarmModeTrigger
impl PartialEq for AgentSwarmModeTrigger
Source§impl Serialize for AgentSwarmModeTrigger
impl Serialize for AgentSwarmModeTrigger
impl StructuralPartialEq for AgentSwarmModeTrigger
Auto Trait Implementations§
impl Freeze for AgentSwarmModeTrigger
impl RefUnwindSafe for AgentSwarmModeTrigger
impl Send for AgentSwarmModeTrigger
impl Sync for AgentSwarmModeTrigger
impl Unpin for AgentSwarmModeTrigger
impl UnsafeUnpin for AgentSwarmModeTrigger
impl UnwindSafe for AgentSwarmModeTrigger
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.