From 54feceea46b765a2a7ccc8d5f3dabea537e374cc Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 12 Dec 2025 13:36:20 -0800 Subject: [PATCH] support 1p (#7945) # External (non-OpenAI) Pull Request Requirements Before opening this Pull Request, please read the dedicated "Contributing" markdown file or your PR may be closed: https://github.com/openai/codex/blob/main/docs/contributing.md If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes. Include a link to a bug report or enhancement request. --- codex-rs/core/src/openai_models/model_family.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/openai_models/model_family.rs b/codex-rs/core/src/openai_models/model_family.rs index e486c7d91..77ec88b98 100644 --- a/codex-rs/core/src/openai_models/model_family.rs +++ b/codex-rs/core/src/openai_models/model_family.rs @@ -264,7 +264,7 @@ pub(super) fn find_family_for_model(slug: &str) -> ModelFamily { ) // Experimental models. - } else if slug.starts_with("exp-codex") { + } else if slug.starts_with("exp-codex") || slug.starts_with("codex-1p") { // Same as gpt-5.1-codex-max. model_family!( slug, slug,