pub enum StepEvent {
AssistantText {
text: String,
step: usize,
},
ToolCall {
call: ToolCall,
step: usize,
},
ToolResult {
id: String,
name: String,
output: String,
step: usize,
},
Finished {
reason: FinishReason,
steps: usize,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepEvent
impl RefUnwindSafe for StepEvent
impl Send for StepEvent
impl Sync for StepEvent
impl Unpin for StepEvent
impl UnsafeUnpin for StepEvent
impl UnwindSafe for StepEvent
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