pub struct TaskAgentTurn {
pub assistant_message: String,
pub attempt_id: String,
pub input: TaskAgentInput,
pub input_tokens: u64,
pub output_tokens: u64,
}Expand description
One response retained in an isolated task conversation.
Fields§
§assistant_message: StringExact serialized protocol response, including clarification questions.
attempt_id: StringProducing attempt; consult its durable status before accepting output.
input: TaskAgentInputExplicit input supplied to this attempt.
input_tokens: u64Input tokens charged to the captured model.
output_tokens: u64Output tokens charged to the captured model.
Trait Implementations§
Source§impl Clone for TaskAgentTurn
impl Clone for TaskAgentTurn
Source§impl Debug for TaskAgentTurn
impl Debug for TaskAgentTurn
impl Eq for TaskAgentTurn
Source§impl PartialEq for TaskAgentTurn
impl PartialEq for TaskAgentTurn
impl StructuralPartialEq for TaskAgentTurn
Auto Trait Implementations§
impl Forget for TaskAgentTurn
impl Freeze for TaskAgentTurn
impl Move for TaskAgentTurn
impl RefUnwindSafe for TaskAgentTurn
impl Send for TaskAgentTurn
impl Sync for TaskAgentTurn
impl Unpin for TaskAgentTurn
impl UnsafeUnpin for TaskAgentTurn
impl UnwindSafe for TaskAgentTurn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.