Skip to content

Add OpenAI's GPT-5.5 model#966

Open
PeterDaveHello wants to merge 1 commit intoChatGPTBox-dev:masterfrom
PeterDaveHello:add-gpt-5.5-support
Open

Add OpenAI's GPT-5.5 model#966
PeterDaveHello wants to merge 1 commit intoChatGPTBox-dev:masterfrom
PeterDaveHello:add-gpt-5.5-support

Conversation

@PeterDaveHello
Copy link
Copy Markdown
Member

@PeterDaveHello PeterDaveHello commented May 1, 2026

Refs:


Open in Devin Review

Summary by CodeRabbit

  • New Features
    • Added support for the OpenAI GPT-5.5 model, now available for selection in the interface with full localization support across 13 languages.

@PeterDaveHello PeterDaveHello requested a review from Copilot May 1, 2026 15:41
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 49284e76-c858-4648-97ee-910f035f8c38

📥 Commits

Reviewing files that changed from the base of the PR and between c236a4b and 82d0da8.

📒 Files selected for processing (17)
  • src/_locales/de/main.json
  • src/_locales/en/main.json
  • src/_locales/es/main.json
  • src/_locales/fr/main.json
  • src/_locales/in/main.json
  • src/_locales/it/main.json
  • src/_locales/ja/main.json
  • src/_locales/ko/main.json
  • src/_locales/pt/main.json
  • src/_locales/ru/main.json
  • src/_locales/tr/main.json
  • src/_locales/zh-hans/main.json
  • src/_locales/zh-hant/main.json
  • src/config/index.mjs
  • tests/unit/config/config-predicates.test.mjs
  • tests/unit/services/apis/openai-token-params.test.mjs
  • tests/unit/utils/model-name-convert.test.mjs

📝 Walkthrough

Walkthrough

This PR adds support for the OpenAI GPT-5.5 model across the application. It includes adding the new model to the configuration registry, extending i18n translations across 12 language locales, and updating relevant unit tests to cover the new model option.

Changes

Cohort / File(s) Summary
Localization strings
src/_locales/de/main.json, src/_locales/en/main.json, src/_locales/es/main.json, src/_locales/fr/main.json, src/_locales/in/main.json, src/_locales/it/main.json, src/_locales/ja/main.json, src/_locales/ko/main.json, src/_locales/pt/main.json, src/_locales/ru/main.json, src/_locales/tr/main.json, src/_locales/zh-hans/main.json, src/_locales/zh-hant/main.json
Adds "OpenAI (GPT-5.5)" translation entry to all locale files for UI display.
Model configuration
src/config/index.mjs
Registers the new chatgptApi5_5 model key in chatgptApiModelKeys and defines its metadata (value: 'gpt-5.5', desc: 'OpenAI (GPT-5.5)') in the Models registry.
Unit tests
tests/unit/config/config-predicates.test.mjs, tests/unit/services/apis/openai-token-params.test.mjs, tests/unit/utils/model-name-convert.test.mjs
Updates test data to include chatgptApi5_5 / gpt-5.5 model in ChatGPT API model predicate tests, token parameter tests, and model name conversion tests respectively.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested labels

Review effort 1/5

Suggested reviewers

  • kmk142789

Poem

🐰 A shiny new model hops into view,
Five-point-five, GPT so true!
From Berlin to Tokyo, strings now align,
In every locale, it will surely shine! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add OpenAI's GPT-5.5 model' accurately reflects the main change across all modified files: adding i18n strings and configuration entries for the new GPT-5.5 model option.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@qodo-code-review
Copy link
Copy Markdown
Contributor

Review Summary by Qodo

Add OpenAI's GPT-5.5 model support

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Add GPT-5.5 model support across all localization files
• Register GPT-5.5 in model configuration and API keys
• Update unit tests for GPT-5.5 model compatibility
Diagram
flowchart LR
  A["GPT-5.5 Model"] --> B["Localization Files"]
  A --> C["Config Index"]
  A --> D["Unit Tests"]
  B --> E["12 Language Files"]
  C --> F["Model Keys & Definitions"]
  D --> G["Token Params & Name Conversion"]
Loading

Grey Divider

File Changes

1. src/_locales/de/main.json Localization +1/-0

Add GPT-5.5 German localization entry

src/_locales/de/main.json


2. src/_locales/en/main.json Localization +1/-0

Add GPT-5.5 English localization entry

src/_locales/en/main.json


3. src/_locales/es/main.json Localization +1/-0

Add GPT-5.5 Spanish localization entry

src/_locales/es/main.json


View more (14)
4. src/_locales/fr/main.json Localization +1/-0

Add GPT-5.5 French localization entry

src/_locales/fr/main.json


5. src/_locales/in/main.json Localization +1/-0

Add GPT-5.5 Indonesian localization entry

src/_locales/in/main.json


6. src/_locales/it/main.json Localization +1/-0

Add GPT-5.5 Italian localization entry

src/_locales/it/main.json


7. src/_locales/ja/main.json Localization +1/-0

Add GPT-5.5 Japanese localization entry

src/_locales/ja/main.json


8. src/_locales/ko/main.json Localization +1/-0

Add GPT-5.5 Korean localization entry

src/_locales/ko/main.json


9. src/_locales/pt/main.json Localization +1/-0

Add GPT-5.5 Portuguese localization entry

src/_locales/pt/main.json


10. src/_locales/ru/main.json Localization +1/-0

Add GPT-5.5 Russian localization entry

src/_locales/ru/main.json


11. src/_locales/tr/main.json Localization +1/-0

Add GPT-5.5 Turkish localization entry

src/_locales/tr/main.json


12. src/_locales/zh-hans/main.json Localization +1/-0

Add GPT-5.5 Simplified Chinese localization entry

src/_locales/zh-hans/main.json


13. src/_locales/zh-hant/main.json Localization +1/-0

Add GPT-5.5 Traditional Chinese localization entry

src/_locales/zh-hant/main.json


14. src/config/index.mjs ⚙️ Configuration changes +2/-0

Register GPT-5.5 in model keys and definitions

src/config/index.mjs


15. tests/unit/config/config-predicates.test.mjs 🧪 Tests +1/-0

Add GPT-5.5 to representative model names

tests/unit/config/config-predicates.test.mjs


16. tests/unit/services/apis/openai-token-params.test.mjs 🧪 Tests +1/-0

Add GPT-5.5 to token parameter test cases

tests/unit/services/apis/openai-token-params.test.mjs


17. tests/unit/utils/model-name-convert.test.mjs 🧪 Tests +1/-0

Add GPT-5.5 to model name conversion tests

tests/unit/utils/model-name-convert.test.mjs


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown
Contributor

qodo-code-review Bot commented May 1, 2026

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds GPT-5.5 as a selectable OpenAI API model across configuration, localization, and unit tests.

Changes:

  • Register chatgptApi5_5 in the OpenAI API model key list and Models map (value: 'gpt-5.5', desc: 'OpenAI (GPT-5.5)').
  • Extend unit tests to cover the new model for description mapping and token-parameter selection.
  • Add the OpenAI (GPT-5.5) i18n string across supported locales.

Reviewed changes

Copilot reviewed 17 out of 17 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 Adds coverage that chatgptApi5_5 maps to the expected UI description.
tests/unit/services/apis/openai-token-params.test.mjs Ensures gpt-5.5 uses max_completion_tokens for OpenAI chat completions.
tests/unit/config/config-predicates.test.mjs Includes chatgptApi5_5 among representative OpenAI Chat Completions API model keys.
src/config/index.mjs Adds chatgptApi5_5 to exported model keys and registers the model in Models.
src/_locales/en/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/de/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/es/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/fr/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/in/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/it/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/ja/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/ko/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/pt/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/ru/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/tr/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/zh-hans/main.json Adds i18n entry for OpenAI (GPT-5.5).
src/_locales/zh-hant/main.json Adds i18n entry for OpenAI (GPT-5.5).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for the OpenAI GPT-5.5 model by updating localization files, configuration constants, and unit tests. The reviewer suggested adding a 'latest' alias for the new model to maintain consistency with previous 5.x releases and recommended including GPT-5.4 in the token parameters test suite to improve overall coverage.

Comment thread src/config/index.mjs
'chatgptApi5_4',
'chatgptApi5_4Mini',
'chatgptApi5_4Nano',
'chatgptApi5_5',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The addition of chatgptApi5_5 is consistent with the existing 5.x model group. However, following the established pattern for major/minor releases (like 5.0, 5.1, 5.2, and 5.3), a corresponding chatgptApi5_5Latest entry is missing. If OpenAI provides a -chat-latest alias for this version, it should be included here and in the Models object.

'gpt-5.3-chat-latest',
'gpt-5.4-mini',
'gpt-5.4-nano',
'gpt-5.5',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The addition of gpt-5.5 to the test suite is correct. However, I noticed that gpt-5.4 is missing from this list of models that should use max_completion_tokens, even though it is defined in the configuration. While not strictly part of this PR's objective, adding it would improve test coverage for the 5.x series.

    'gpt-5.4',
    'gpt-5.4-mini',
    'gpt-5.4-nano',
    'gpt-5.5',

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.

2 participants