pub struct Progress {
pub tool_calls: usize,
pub last_tool: Option<String>,
pub last_text: Option<String>,
}Expand description
What a run’s log says so far.
Fields§
§tool_calls: usize§last_tool: Option<String>The last tool used, with its main argument.
last_text: Option<String>The last thing the agent said, or a non-JSON log’s last line.
Trait Implementations§
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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