Repository navigation
feat(codex): safely discover compatible models - #12933
diegosouzapw merged 4 commits into
Conversation
|
This is a genuinely valuable safety fix — preventing hidden/unsupported/retired/newer-client |
…ream Resolves conflicts in the reasoning-suffix regex (adopt the already-landed generic max/ultra matcher), the Codex client version comment (both sides already agree on 0.153.4), and the GitHub-catalog discovery response (keep the already-landed buildResponse/source shape while preserving this PR's active/candidate reconciliation and includeCandidates diagnostics).
…merge release/v3.8.51 had already landed the seven gpt-6-astra* models, and the merge kept both copies, so the Codex registry listed every Astra id twice. Keep the release's entries (same ids, capabilities and timeouts) and drop this branch's copies. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
|
Thanks @TheDemonTuan — merging via the release merge-train. Validated in local merge-train (merge-train-20260918-120911-suite.log) on the devbox @ train tip 8c305709478b7052fb981a75852bbf88fe3a959d with the sibling PRs of this batch: typecheck:core, file-size, complexity, cognitive-complexity, changelog-integrity green; changed-area node:test 310/311 (the single red, hard-lease inventory, reproduces on the pure release tip) + vitest green (fast parity mode — full suite ran today on the tip via the base-red and 3b trains). Merged --admin per merge-gates §4/§7. |
d5452d0
into
cheaper-inference:release/v3.8.51
* feat(codex): safely discover compatible models * docs(changelog): add fragment for cheaper-inference#12933 * fix(codex): drop the duplicate GPT-6 Astra registry entries from the merge release/v3.8.51 had already landed the seven gpt-6-astra* models, and the merge kept both copies, so the Codex registry listed every Astra id twice. Keep the release's entries (same ids, capabilities and timeouts) and drop this branch's copies. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> --------- Co-authored-by: TheDemonTuan <nguyenviettuanbp@gmail.com> Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
Summary
Validation
node --import tsx/esm --test tests/unit/provider-models-discovery-split.test.ts tests/unit/codex-reasoning-suffix.test.tsnpm run typecheck:corenpm run lint -- --quiet --pass-on-unpruned-suppressions