pub fn message_bytes(message: &Message) -> usize
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.