Lightweight coding agent that runs in your terminal
Rust
Keep gpt-5.1-codex the default (#6922)
pakrym-oai64ae9aa3c3fa
diff --git a/codex-rs/core/src/config/mod.rs b/codex-rs/core/src/config/mod.rsindex 1f53b5c94d..4cdb1b0b03 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