style(anthropic): format cache conversation test block

This commit is contained in:
Chummy 2026-02-18 14:24:10 +08:00
parent 455eb3b847
commit da7c21f469

View file

@ -881,12 +881,10 @@ mod tests {
#[test] #[test]
fn should_cache_conversation_long() { fn should_cache_conversation_long() {
let mut messages = vec![ let mut messages = vec![ChatMessage {
ChatMessage { role: "system".to_string(),
role: "system".to_string(), content: "System prompt".to_string(),
content: "System prompt".to_string(), }];
},
];
// Add 5 non-system messages // Add 5 non-system messages
for i in 0..5 { for i in 0..5 {
messages.push(ChatMessage { messages.push(ChatMessage {