Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

support 1p (#7945)

Ahmed Ibrahim54feceea46b7
diff --git a/codex-rs/core/src/openai_models/model_family.rs b/codex-rs/core/src/openai_models/model_family.rs
index e486c7d911..77ec88b98e 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,