fix: use codex-exp prefix for experimental models and consider codex- models to be production (#5797)
This commit is contained in:
committed by
GitHub
parent
7aab45e060
commit
224222f09f
@@ -131,7 +131,7 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Internal models.
|
// Internal models.
|
||||||
} else if slug.starts_with("codex-") {
|
} else if slug.starts_with("codex-exp-") {
|
||||||
model_family!(
|
model_family!(
|
||||||
slug, slug,
|
slug, slug,
|
||||||
supports_reasoning_summaries: true,
|
supports_reasoning_summaries: true,
|
||||||
@@ -147,7 +147,7 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Production models.
|
// Production models.
|
||||||
} else if slug.starts_with("gpt-5-codex") {
|
} else if slug.starts_with("gpt-5-codex") || slug.starts_with("codex-") {
|
||||||
model_family!(
|
model_family!(
|
||||||
slug, slug,
|
slug, slug,
|
||||||
supports_reasoning_summaries: true,
|
supports_reasoning_summaries: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user