pub enum ToolDelta {
Start {
id: String,
name: String,
},
Arguments {
delta: String,
},
End,
}Expand description
Delta updates during streaming tool call construction
Variants§
Start
Tool call has started
Arguments
New arguments data (may be partial JSON)
End
Tool call is complete
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolDelta
impl RefUnwindSafe for ToolDelta
impl Send for ToolDelta
impl Sync for ToolDelta
impl Unpin for ToolDelta
impl UnwindSafe for ToolDelta
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