mirror of
https://github.com/openai/codex.git
synced 2026-04-30 01:16:54 +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:
@@ -516,9 +516,9 @@ fn ensure_test_model_catalog(config: &mut Config) -> Result<()> {
|
||||
let mut model = bundled_models
|
||||
.models
|
||||
.iter()
|
||||
.find(|candidate| candidate.slug == "gpt-5.1-codex")
|
||||
.find(|candidate| candidate.slug == "gpt-5.2")
|
||||
.cloned()
|
||||
.unwrap_or_else(|| panic!("missing bundled model gpt-5.1-codex"));
|
||||
.unwrap_or_else(|| panic!("missing bundled model gpt-5.2"));
|
||||
model.slug = TEST_MODEL_WITH_EXPERIMENTAL_TOOLS.to_string();
|
||||
model.display_name = TEST_MODEL_WITH_EXPERIMENTAL_TOOLS.to_string();
|
||||
model.experimental_supported_tools = vec!["test_sync_tool".to_string()];
|
||||
|
||||
Reference in New Issue
Block a user