From 64ae9aa3c3fa783db4eb45de7aa05b655d2723f6 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Wed, 19 Nov 2025 11:08:10 -0800 Subject: [PATCH] Keep gpt-5.1-codex the default (#6922) --- codex-rs/core/src/config/mod.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/codex-rs/core/src/config/mod.rs b/codex-rs/core/src/config/mod.rs index 1f53b5c94..4cdb1b0b0 100644 --- a/codex-rs/core/src/config/mod.rs +++ b/codex-rs/core/src/config/mod.rs @@ -61,12 +61,9 @@ pub mod edit; pub mod profile; pub mod types; -#[cfg(target_os = "windows")] -pub const OPENAI_DEFAULT_MODEL: &str = "gpt-5.1-codex-max"; -#[cfg(not(target_os = "windows"))] -pub const OPENAI_DEFAULT_MODEL: &str = "gpt-5.1-codex-max"; -const OPENAI_DEFAULT_REVIEW_MODEL: &str = "gpt-5.1-codex-max"; -pub const GPT_5_CODEX_MEDIUM_MODEL: &str = "gpt-5.1-codex-max"; +pub const OPENAI_DEFAULT_MODEL: &str = "gpt-5.1-codex"; +const OPENAI_DEFAULT_REVIEW_MODEL: &str = "gpt-5.1-codex"; +pub const GPT_5_CODEX_MEDIUM_MODEL: &str = "gpt-5.1-codex"; /// Maximum number of bytes of the documentation that will be embedded. Larger /// files are *silently truncated* to this size so we do not take up too much of