Skip to main content

message_bytes

Function message_bytes 

Source
pub fn message_bytes(message: &Message) -> usize
Expand description

The bytes a message costs on the wire: text, tool-call arguments, and tool-result content, summed. This is the unit the view’s budget spends.