pub enum StepType {
TextResponse,
ToolCall,
SystemMessage,
Compaction,
Finish,
Unknown,
}Expand description
The kind of event a step represents.
Variants§
TextResponse
Model-generated text response.
ToolCall
Model requesting a tool call.
SystemMessage
System-generated message.
Compaction
History compaction event.
Finish
Agent signaling completion.
Unknown
Unrecognized step type.
Trait Implementations§
impl Copy for StepType
Source§impl<'de> Deserialize<'de> for StepType
impl<'de> Deserialize<'de> for StepType
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 StepType
impl StructuralPartialEq for StepType
Auto Trait Implementations§
impl Freeze for StepType
impl RefUnwindSafe for StepType
impl Send for StepType
impl Sync for StepType
impl Unpin for StepType
impl UnsafeUnpin for StepType
impl UnwindSafe for StepType
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