pub fn cut_point(messages: &[Message], target: usize) -> Option<usize>Expand description
The first index at or after target where the transcript can be cut.
Returns None when there is no legal cut, which is normal for a short
conversation and means “do not compact” rather than “something is wrong”.