pub struct MessageNormalizationDetail {
pub before_ms: u64,
pub normalize_ms: u64,
pub images_ms: u64,
pub post_process_ms: u64,
pub after_ms: u64,
pub other_ms: u64,
pub messages: Option<u64>,
pub wire_messages: Option<u64>,
}Expand description
ResultMessage::message_normalization_detail — how the
message_normalization phase was spent (CLI 2.1.317+). Read it as
ToolSchemaBuildDetail: six _ms values in the order the code runs,
which add up to the phase exactly.
Fields§
§before_ms: u64The passes ahead of the main one and the main pass’s options.
normalize_ms: u64The main pass alone (normalizeMessagesForAPI).
images_ms: u64Checking every image against the model’s size limit.
post_process_ms: u64The passes over the normalized list.
after_ms: u64The rest: per-turn notes, retry message lists, account-memory notes.
other_ms: u64§messages: Option<u64>How many messages the request was built from (the conversation since its last compaction, after any trimming); the last build’s.
wire_messages: Option<u64>How many API messages this build made of them; the last build’s.
Trait Implementations§
Source§impl Clone for MessageNormalizationDetail
impl Clone for MessageNormalizationDetail
Source§impl Debug for MessageNormalizationDetail
impl Debug for MessageNormalizationDetail
Source§impl Default for MessageNormalizationDetail
impl Default for MessageNormalizationDetail
Source§impl<'de> Deserialize<'de> for MessageNormalizationDetail
impl<'de> Deserialize<'de> for MessageNormalizationDetail
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MessageNormalizationDetail
impl StructuralPartialEq for MessageNormalizationDetail
Auto Trait Implementations§
impl Freeze for MessageNormalizationDetail
impl RefUnwindSafe for MessageNormalizationDetail
impl Send for MessageNormalizationDetail
impl Sync for MessageNormalizationDetail
impl Unpin for MessageNormalizationDetail
impl UnsafeUnpin for MessageNormalizationDetail
impl UnwindSafe for MessageNormalizationDetail
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