Skip to content

feat: add GPT-5.1-5.6 models and drop retired o-series - #6875

Open
LogosFu wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
LogosFu:feat/gpt5x-models-and-retire-o-series
Open

feat: add GPT-5.1-5.6 models and drop retired o-series#6875
LogosFu wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
LogosFu:feat/gpt5x-models-and-retire-o-series

Conversation

@LogosFu

@LogosFu LogosFu commented Aug 13, 2026

Copy link
Copy Markdown

Summary

The built-in OpenAI model list has been stuck at gpt-5 even though GPT-5.1 through GPT-5.6 are now live on both the OpenAI API and Azure OpenAI. Meanwhile the o-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

  • Add gpt-5-pro, gpt-5-codex and the full 5.1-5.6 family to app/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-codex
    • gpt-5.3-chat / gpt-5.3-codex
    • gpt-5.4 / gpt-5.4-mini / gpt-5.4-nano / gpt-5.4-pro
    • gpt-5.5, gpt-5.6, and the gpt-5.6-luna/sol/terra tiers
  • Remove retired o-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
  • Keep the vision-marking regexes (/o3/, /o4-mini/) so user-defined o-series models added via custom model names still get image-input support

Test Plan

  • yarn build passes (includes TypeScript checks)
  • yarn test:ci passes — 157/157 tests
  • Manually verified in the browser: GPT-5.1-5.6 visible in the model dropdown (OpenAI + Azure groups), o-series gone

Note: yarn lint currently crashes on app/constant.ts:1 with Cannot read properties of undefined (reading 'loc') in the unused-imports/no-unused-imports rule — reproduced on a clean checkout of main (pre-existing, unrelated to this change).

- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant