pub struct AssistantTurn {
pub message: String,
pub done: bool,
pub usage: Option<Usage>,
pub session_id: Option<String>,
}Expand description
An assistant/skill turn produced by the provider.
Fields§
§message: String§done: boolThe skill signalled it considers the task complete.
usage: Option<Usage>Cost/token usage for this call, if the provider reported it.
session_id: Option<String>A session handle the runner can pass back on the next respond call to
continue the same conversation against the real harness (only some
harnesses expose this — see OneharnessProvider::supports_resume).
Trait Implementations§
Source§impl Clone for AssistantTurn
impl Clone for AssistantTurn
Source§fn clone(&self) -> AssistantTurn
fn clone(&self) -> AssistantTurn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssistantTurn
impl Debug for AssistantTurn
Source§impl Default for AssistantTurn
impl Default for AssistantTurn
Source§fn default() -> AssistantTurn
fn default() -> AssistantTurn
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AssistantTurn
impl RefUnwindSafe for AssistantTurn
impl Send for AssistantTurn
impl Sync for AssistantTurn
impl Unpin for AssistantTurn
impl UnsafeUnpin for AssistantTurn
impl UnwindSafe for AssistantTurn
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