fix(#779): correct stale model-catalog model IDs verified against live providers (#1047)

Verify-first audit: gemini opus gemini-3-pro→gemini-3.1-pro-preview (undefined in gemini-cli source), codex sonnet gpt-5.3-codex→gpt-5.4 (deprecated per OpenAI); qwen3-coder-next verified valid, unchanged. Adds a regression guard + sourcing note. Closes #779.
This commit is contained in:
Tom Boucher
2026-06-11 13:36:23 -04:00
committed by GitHub
parent 734c56ccfe
commit 9e3b056b15
8 changed files with 44 additions and 27 deletions

View File

@@ -5748,7 +5748,7 @@ function mergeCodexConfig(configPath, gsdBlock) {
/**
* Repair config.toml files corrupted by pre-#1346 GSD installs.
* Non-boolean keys (e.g. model = "gpt-5.3-codex") that ended up under [features]
* Non-boolean keys (e.g. model = "gpt-5.4") that ended up under [features]
* are relocated before the [features] header so Codex can parse them correctly.
* Returns the content unchanged if no trapped keys are found.
*/