Skip to content

fix: update Codex SDK and add GPT-5.3/GPT-5.2 Codex model IDs#385

Open
azyu wants to merge 1 commit intositeboon:mainfrom
azyu:fix/codex-models-sdk
Open

fix: update Codex SDK and add GPT-5.3/GPT-5.2 Codex model IDs#385
azyu wants to merge 1 commit intositeboon:mainfrom
azyu:fix/codex-models-sdk

Conversation

@azyu
Copy link

@azyu azyu commented Feb 14, 2026

Summary

  • Upgraded @openai/codex-sdk from ^0.75.0 to ^0.101.0 to align with current Codex CLI/model support.
  • Added gpt-5.2-codex, gpt-5.3-codex to Codex model options.

Why

  • Recent Codex model selection attempts failed due to model/version mismatch and outdated SDK behavior.
  • This update ensures the UI offers current Codex model IDs and uses a newer SDK compatible with latest Codex model routing.

Scope

  • package.json
  • package-lock.json
  • shared/modelConstants.js

Summary by CodeRabbit

  • New Features
    • Added support for GPT-5.3 Codex and GPT-5.2 Codex models, expanding the available model options for users.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 14, 2026

Walkthrough

The pull request updates the "@openai/codex-sdk" dependency to version 0.101.0 and adds two new GPT-5 Codex model options (versions 5.3 and 5.2) to the model constants configuration.

Changes

Cohort / File(s) Summary
Dependency Update
package.json
Updated "@openai/codex-sdk" from ^0.75.0 to ^0.101.0.
Model Configuration
shared/modelConstants.js
Added two new model entries to CODEX_MODELS.OPTIONS array: GPT-5.3 Codex and GPT-5.2 Codex.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 Hops of joy! New models arrive,
GPT-5.3, 5.2—watch codex thrive!
Dependencies dance, versions align,
Constants refreshed, everything's fine! ✨

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: updating the Codex SDK version and adding two new GPT-5.x Codex model options to the codebase.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

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

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉

🧹 Recent nitpick comments
shared/modelConstants.js (1)

66-67: Consider updating the DEFAULT to a codex-suffixed model ID.

The PR description states that gpt-5.2-codex is the "correct dotted model ID format," yet the DEFAULT remains gpt-5.2 (without the -codex suffix). If the intent is to steer users toward the correct Codex model IDs, consider updating the default to gpt-5.2-codex or gpt-5.3-codex.

If gpt-5.2 is intentionally kept as a safe/stable default distinct from the codex-specific variants, no change needed—just confirming this is deliberate.

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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

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

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