pub enum Response {
Start,
Think(ThinkEvent),
Content(String),
Stats(Stats),
Error(String),
None,
}Variants§
Start
The first time we get anything at all on the SSE stream
Think(ThinkEvent)
Reasoning events - start, some thoughts, stop
Content(String)
The good stuff
Stats(Stats)
Summary stats at the end of the run
Error(String)
Less good things. Often you mistyped the model name.
None
For default
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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