pub enum StepType {
TextResponse,
ToolCall,
SystemMessage,
Compaction,
Finish,
Unknown,
}Expand description
The classification type of a step in the trajectory.
Variants§
TextResponse
Raw text content returned by the model.
ToolCall
Execution of a tool call.
SystemMessage
Logging or notification events from the system.
Compaction
A history compaction step summarizing context.
Finish
Terminating milestone indicator.
Unknown
Catch-all variant for unrecognized steps.
Trait Implementations§
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 Copy for StepType
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