pub enum TurnKind {
Turn,
Think,
Agent,
}Expand description
What kind of turn a Role::Turn worker runs.
Variants§
Turn
A root/conversation turn: tools, may act, ends with a reply.
Think
A structured reasoning call: no tools, an object out (think, preflight,
compaction).
Agent
A bounded agentic run for a workflow agent step / subagent: tools,
output contract/schema, ends with a result.
Trait Implementations§
impl Copy for TurnKind
Source§impl<'de> Deserialize<'de> for TurnKind
impl<'de> Deserialize<'de> for TurnKind
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 TurnKind
impl StructuralPartialEq for TurnKind
Auto Trait Implementations§
impl Freeze for TurnKind
impl RefUnwindSafe for TurnKind
impl Send for TurnKind
impl Sync for TurnKind
impl Unpin for TurnKind
impl UnsafeUnpin for TurnKind
impl UnwindSafe for TurnKind
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