Add OpenAI GPT-5.6 alias and tiered model presets#997
Conversation
Expose the documented alias alongside explicit tiers so users can choose either the stable family entry or a named tier. Reference: - https://developers.openai.com/api/docs/models/gpt-5.6-sol - https://developers.openai.com/api/docs/models/gpt-5.6-terra - https://developers.openai.com/api/docs/models/gpt-5.6-luna
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR adds four new OpenAI GPT-5.6 model variants (base, Sol, Terra, Luna) to the configuration's ChangesGPT-5.6 Model Support
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoAdd OpenAI GPT-5.6 alias and Sol/Terra/Luna model presets
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
There was a problem hiding this comment.
Code Review
This pull request adds support for the new OpenAI GPT-5.6 models (including the Sol, Terra, and Luna variants) by updating the localization files, model configurations, and unit tests. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
Pull request overview
This PR updates ChatGPTBox’s OpenAI (API) model presets to include the GPT‑5.6 family, exposing both the documented base alias (gpt-5.6) and the tiered variants (Sol/Terra/Luna) so they appear correctly in the UI and remain covered by existing model-name and token-parameter behaviors.
Changes:
- Added GPT‑5.6 preset keys to the OpenAI (API) model list and
Modelsregistry. - Added English i18n labels for the new GPT‑5.6 presets.
- Expanded unit tests to cover model-name descriptions, config predicates, and token parameter selection for the new model IDs.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/unit/utils/model-name-convert.test.mjs | Extends modelNameToDesc coverage for GPT‑5.6 + tier variants. |
| tests/unit/services/apis/openai-token-params.test.mjs | Ensures GPT‑5.6 model IDs use max_completion_tokens behavior. |
| tests/unit/config/config-predicates.test.mjs | Updates representative ChatGPT API model keys to include GPT‑5.6 presets. |
| src/config/index.mjs | Registers GPT‑5.6 presets in chatgptApiModelKeys and Models for UI/config usage. |
| src/_locales/en/main.json | Adds English strings for new GPT‑5.6 preset labels. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Reviewed by step-3.7-flash-20260528 · Input: 303.8K · Output: 7.9K · Cached: 484.2K |
Expose the documented alias alongside explicit tiers so users can choose either the stable family entry or a named tier.
Reference:
Summary by CodeRabbit
New Features
Bug Fixes