From 09d3b3063d555ab42a29dfc48e6bcfee0da55ea1 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 16 May 2025 16:22:43 -0700 Subject: [PATCH] fix: make codex-mini-latest the default model in the Rust TUI --- codex-rs/README.md | 2 +- codex-rs/core/src/flags.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/README.md b/codex-rs/README.md index 2c95976c39..bedce9f22d 100644 --- a/codex-rs/README.md +++ b/codex-rs/README.md @@ -32,7 +32,7 @@ The `config.toml` file supports the following options: The model that Codex should use. ```toml -model = "o3" # overrides the default of "o4-mini" +model = "o3" # overrides the default of "codex-mini-latest" ``` ### model_provider diff --git a/codex-rs/core/src/flags.rs b/codex-rs/core/src/flags.rs index e8cc973c99..c21ef67026 100644 --- a/codex-rs/core/src/flags.rs +++ b/codex-rs/core/src/flags.rs @@ -3,7 +3,7 @@ use std::time::Duration; use env_flags::env_flags; env_flags! { - pub OPENAI_DEFAULT_MODEL: &str = "o4-mini"; + pub OPENAI_DEFAULT_MODEL: &str = "codex-mini-latest"; pub OPENAI_API_BASE: &str = "https://api.openai.com/v1"; /// Fallback when the provider-specific key is not set.