chore: drop env var flag (#5462)
This commit is contained in:
@@ -84,11 +84,7 @@ macro_rules! model_family {
|
|||||||
|
|
||||||
/// Returns a `ModelFamily` for the given model slug, or `None` if the slug
|
/// Returns a `ModelFamily` for the given model slug, or `None` if the slug
|
||||||
/// does not match any known model family.
|
/// does not match any known model family.
|
||||||
pub fn find_family_for_model(mut slug: &str) -> Option<ModelFamily> {
|
pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
|
||||||
// TODO(jif) clean once we have proper feature flags
|
|
||||||
if matches!(std::env::var("CODEX_EXPERIMENTAL").as_deref(), Ok("1")) {
|
|
||||||
slug = "codex-experimental";
|
|
||||||
}
|
|
||||||
if slug.starts_with("o3") {
|
if slug.starts_with("o3") {
|
||||||
model_family!(
|
model_family!(
|
||||||
slug, "o3",
|
slug, "o3",
|
||||||
|
|||||||
Reference in New Issue
Block a user