style(anthropic): format cache conversation test block
This commit is contained in:
parent
455eb3b847
commit
da7c21f469
1 changed files with 4 additions and 6 deletions
|
|
@ -881,12 +881,10 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn should_cache_conversation_long() {
|
||||
let mut messages = vec![
|
||||
ChatMessage {
|
||||
role: "system".to_string(),
|
||||
content: "System prompt".to_string(),
|
||||
},
|
||||
];
|
||||
let mut messages = vec![ChatMessage {
|
||||
role: "system".to_string(),
|
||||
content: "System prompt".to_string(),
|
||||
}];
|
||||
// Add 5 non-system messages
|
||||
for i in 0..5 {
|
||||
messages.push(ChatMessage {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue