pub fn latest_user_text(messages: &[Message]) -> Option<String>
Returns the text of the latest user message in the session.