fix: address clippy violations that sneaked in (#16715)

These made their way into the codebase in
https://github.com/openai/codex/pull/16508 because I haven't managed to
get https://github.com/openai/codex/pull/16450 working yet.
This commit is contained in:
Michael Bolin authored and GitHub committed 2026-04-03 13:05:46 -07:00
1 parent faab4d39e1
commit dc07108af8
2 files changed
+16 -8

No files matched your search

@@ -32,8 +32,10 @@ async fn offline_model_info_without_tool_output_override() {
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
async fn offline_model_info_with_tool_output_override() {
let codex_home = TempDir::new().expect("create temp dir");
let mut config = ModelsManagerConfig::default();
config.tool_output_token_limit = Some(123);
let config = ModelsManagerConfig {
tool_output_token_limit: Some(123),
..Default::default()
};
let auth_manager =
AuthManager::from_auth_for_testing(CodexAuth::create_dummy_chatgpt_auth_for_testing());
let manager = ModelsManager::new(