mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
Fix clippy useless_vec in compact_remote test
This commit is contained in:
@@ -331,7 +331,7 @@ mod tests {
|
||||
let base_instructions = BaseInstructions {
|
||||
text: String::new(),
|
||||
};
|
||||
let incoming_items = vec![user_message(
|
||||
let incoming_items = [user_message(
|
||||
"INCOMING_USER_MESSAGE_THAT_TIPS_OVER_THE_WINDOW",
|
||||
)];
|
||||
let incoming_items_tokens = incoming_items
|
||||
@@ -344,7 +344,7 @@ mod tests {
|
||||
);
|
||||
|
||||
let mut history = ContextManager::new();
|
||||
let history_items = vec![
|
||||
let history_items = [
|
||||
user_message("USER_ONE"),
|
||||
developer_message("TRAILING_CODEX_GENERATED_CONTEXT"),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user