Skip to content

feat: add GPT-5.6/5.5/5.4 model support for current ChatGPT backend - #129

Open
GustavMhaler wants to merge 1 commit into
numman-ali:mainfrom
GustavMhaler:feat/gpt-5.6-models-and-image-gen-support
Open

feat: add GPT-5.6/5.5/5.4 model support for current ChatGPT backend#129
GustavMhaler wants to merge 1 commit into
numman-ali:mainfrom
GustavMhaler:feat/gpt-5.6-models-and-image-gen-support

Conversation

@GustavMhaler

Copy link
Copy Markdown

The ChatGPT Codex backend has migrated to the gpt-5.6 family (gpt-5.6-luna/terra/sol), gpt-5.5 and gpt-5.4-mini. The current plugin normalizes these new model names down to the deprecated gpt-5.1, which the backend rejects with: The gpt-5.1 model is not supported when using Codex with a ChatGPT account.

Changes:

  • Add model mappings for gpt-5.6-luna/terra/sol, gpt-5.5, gpt-5.4-mini (+ reasoning variants)
  • Fix normalizeModel fallback pattern order so new models pass through unchanged
  • Extend ModelFamily type with new families and map them to the gpt-5.1 prompt/instructions files
  • Add new model presets to config/opencode-modern.json and config/opencode-legacy.json

Verified working with ChatGPT Plus OAuth: chat requests and the gpt-image-1.5 image generation endpoint both succeed.

- Add model mappings for gpt-5.6-luna/terra/sol, gpt-5.5, gpt-5.4-mini
- Fix normalizeModel fallback so new models aren't downgraded to deprecated gpt-5.1
- Extend ModelFamily type and prompt/cache file mappings for new families
- Update modern and legacy config presets with new models
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