pub enum Step {
Model {
has_text: bool,
tool_calls: usize,
input_tokens: u32,
output_tokens: u32,
},
Tool {
id: String,
name: String,
args: Value,
ok: bool,
error: Option<String>,
},
}Expand description
One step of a run, in the order it happened.
Variants§
Model
The model answered once.
Fields
Tool
A tool was called.
Trait Implementations§
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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