pub struct Metadata {
pub input_tokens: u64,
pub output_tokens: u64,
pub reasoning_tokens: Option<u64>,
pub reasoning: Option<String>,
pub delivery: Vec<FileDelivery>,
}Expand description
What a run spent, how it reasoned, and how its files reached the model.
Fields§
§input_tokens: u64Tokens in what was sent.
output_tokens: u64Tokens in what came back.
reasoning_tokens: Option<u64>Tokens spent reasoning, when the run reported them.
reasoning: Option<String>The reasoning itself, when the run reported it.
delivery: Vec<FileDelivery>How each file the run carried reached the model, in the order the files were given. Empty when the run carried no file, and on an answer kept from before the platform reported it.
Trait Implementations§
impl Eq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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