mirror of
https://github.com/openai/codex.git
synced 2026-05-04 03:16:31 +00:00
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:
@@ -400,7 +400,7 @@ async fn review_uses_custom_review_model_from_config() {
|
||||
// Choose a review model different from the main model; ensure it is used.
|
||||
let codex = new_conversation_for_server(&server, codex_home.clone(), |cfg| {
|
||||
cfg.model = Some("gpt-4.1".to_string());
|
||||
cfg.review_model = Some("gpt-5.1".to_string());
|
||||
cfg.review_model = Some("gpt-5.4".to_string());
|
||||
})
|
||||
.await;
|
||||
|
||||
@@ -433,7 +433,7 @@ async fn review_uses_custom_review_model_from_config() {
|
||||
let request = request_log.single_request();
|
||||
assert_eq!(request.path(), "/v1/responses");
|
||||
let body = request.body_json();
|
||||
assert_eq!(body["model"].as_str().unwrap(), "gpt-5.1");
|
||||
assert_eq!(body["model"].as_str().unwrap(), "gpt-5.4");
|
||||
|
||||
let _codex_home_guard = codex_home;
|
||||
server.verify().await;
|
||||
|
||||
Reference in New Issue
Block a user