Update models.json (#18586)

- Replace the active models-manager catalog with the deleted core
catalog contents.
- Replace stale hardcoded test model slugs with current bundled model
slugs.
- Keep this as a stacked change on top of the cleanup PR.
This commit is contained in:
Ahmed Ibrahim
2026-04-20 10:27:01 -07:00
committed by GitHub
parent 5d5d610740
commit 316cf0e90b
63 changed files with 540 additions and 1016 deletions

View File

@@ -119,7 +119,7 @@ async fn prompt_tools_are_consistent_across_requests() -> anyhow::Result<()> {
} = test_codex()
.with_config(|config| {
config.user_instructions = Some("be consistent and helpful".to_string());
config.model = Some("gpt-5.1-codex-max".to_string());
config.model = Some("gpt-5.2".to_string());
// Keep tool expectations stable when the default web_search mode changes.
config
.web_search_mode
@@ -237,7 +237,7 @@ async fn gpt_5_tools_without_apply_patch_append_apply_patch_instructions() -> an
.features
.enable(Feature::CollaborationModes)
.expect("test config should allow feature update");
config.model = Some("gpt-5".to_string());
config.model = Some("gpt-5.2".to_string());
})
.build(&server)
.await?;
@@ -509,7 +509,7 @@ async fn override_before_first_turn_emits_environment_context() -> anyhow::Resul
let collaboration_mode = CollaborationMode {
mode: ModeKind::Default,
settings: Settings {
model: "gpt-5.1".to_string(),
model: "gpt-5.4".to_string(),
reasoning_effort: Some(ReasoningEffort::High),
developer_instructions: None,
},
@@ -522,7 +522,7 @@ async fn override_before_first_turn_emits_environment_context() -> anyhow::Resul
approvals_reviewer: None,
sandbox_policy: None,
windows_sandbox_level: None,
model: Some("gpt-5.1-codex".to_string()),
model: Some("gpt-5.4".to_string()),
effort: Some(Some(ReasoningEffort::Low)),
summary: None,
service_tier: None,
@@ -545,7 +545,7 @@ async fn override_before_first_turn_emits_environment_context() -> anyhow::Resul
wait_for_event(&codex, |ev| matches!(ev, EventMsg::TurnComplete(_))).await;
let body = req.single_request().body_json();
assert_eq!(body["model"].as_str(), Some("gpt-5.1"));
assert_eq!(body["model"].as_str(), Some("gpt-5.4"));
assert_eq!(
body.get("reasoning")
.and_then(|reasoning| reasoning.get("effort"))