content:"You are a helpful assistant with extensive knowledge.".to_string(),
name:None,
}];
// Add many user/assistant pairs to simulate a long conversation
foriin0..50{
messages.push(ChatMessage::User{
role:"user".to_string(),
content:UserMessageContent::Text(format!("Question {}: What do you think about topic number {} which involves complex reasoning about multiple interconnected systems and their relationships?",i,i)),
name:None,
});
messages.push(ChatMessage::Assistant{
role:"assistant".to_string(),
content:Some(format!("Answer {}: This is a detailed response about topic {} that covers multiple aspects and provides comprehensive analysis of the interconnected systems you mentioned.",i,i)),