diff --git a/codex-rs/core/src/model_family.rs b/codex-rs/core/src/model_family.rs index 40b00408..e6e5fbfd 100644 --- a/codex-rs/core/src/model_family.rs +++ b/codex-rs/core/src/model_family.rs @@ -131,7 +131,7 @@ pub fn find_family_for_model(slug: &str) -> Option { ) // Internal models. - } else if slug.starts_with("codex-") { + } else if slug.starts_with("codex-exp-") { model_family!( slug, slug, supports_reasoning_summaries: true, @@ -147,7 +147,7 @@ pub fn find_family_for_model(slug: &str) -> Option { ) // Production models. - } else if slug.starts_with("gpt-5-codex") { + } else if slug.starts_with("gpt-5-codex") || slug.starts_with("codex-") { model_family!( slug, slug, supports_reasoning_summaries: true,