feat: add GPT-5.1-5.6 models and drop retired o-series - #6875
Open
LogosFu wants to merge 1 commit into
Open
Conversation
- Add gpt-5-pro/codex and the 5.1-5.6 family (chat/codex/mini/nano/pro variants, incl. gpt-5.6-luna/sol/terra) to the built-in model list - Remove retired o-series reasoning models (o1, o1-mini, o1-preview, o3, o3-mini, o4-mini) and their knowledge-cutoff date overrides - Drop o3/o4-mini from the 302.AI provider model list - Keep vision-marking regexes so user-defined o-series models still receive image-input support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The built-in OpenAI model list has been stuck at
gpt-5even though GPT-5.1 through GPT-5.6 are now live on both the OpenAI API and Azure OpenAI. Meanwhile theo-series reasoning models (o1, o1-mini, o1-preview, o3, o3-mini, o4-mini) were retired when GPT-5 shipped (August 2025) and remain as dead options in the dropdown.Changes
gpt-5-pro,gpt-5-codexand the full 5.1-5.6 family toapp/constant.ts:gpt-5.1/gpt-5.1-chat/gpt-5.1-codex(+ max/mini variants)gpt-5.2/gpt-5.2-chat/gpt-5.2-codexgpt-5.3-chat/gpt-5.3-codexgpt-5.4/gpt-5.4-mini/gpt-5.4-nano/gpt-5.4-progpt-5.5,gpt-5.6, and thegpt-5.6-luna/sol/terratierso-series models (o1, o1-mini, o1-preview, o3, o3-mini, o4-mini) from the built-in list, the knowledge-cutoff date overrides, and the 302.AI provider list/o3/,/o4-mini/) so user-defined o-series models added via custom model names still get image-input supportTest Plan
yarn buildpasses (includes TypeScript checks)yarn test:cipasses — 157/157 testsNote:
yarn lintcurrently crashes onapp/constant.ts:1withCannot read properties of undefined (reading 'loc')in theunused-imports/no-unused-importsrule — reproduced on a clean checkout ofmain(pre-existing, unrelated to this change).