We are treating assistant messages in a different way than other messages which resulted in a duplicated history. See #2698