pub fn remove_empty_messages(messages: &mut Vec<Message>)
Remove empty messages (messages with no content blocks after stripping).