Skip to content

fix: bump @openai/codex-sdk to ^0.144.0 to support newer Codex models#1001

Open
m061i6 wants to merge 1 commit into
siteboon:mainfrom
m061i6:fix/bump-codex-sdk-0.144
Open

fix: bump @openai/codex-sdk to ^0.144.0 to support newer Codex models#1001
m061i6 wants to merge 1 commit into
siteboon:mainfrom
m061i6:fix/bump-codex-sdk-0.144

Conversation

@m061i6

@m061i6 m061i6 commented Jul 11, 2026

Copy link
Copy Markdown

Problem

Starting a Codex session with a newly released model (e.g. gpt-5.6-sol) fails with:

{
  "type": "error",
  "status": 400,
  "error": {
    "type": "invalid_request_error",
    "message": "The 'gpt-5.6-sol' model requires a newer version of Codex. Please upgrade to the latest app or CLI and try again."
  }
}

The model appears in the model picker (the account genuinely has access to it), but execution is rejected by the OpenAI API because the bundled Codex engine is too old.

Root cause

package.json pins "@openai/codex-sdk": "^0.141.0". For 0.x versions, the caret locks the minor version (>=0.141.0 <0.142.0), so installs can never resolve to 0.144.x — the SDK (and its vendored codex binary) stays at 0.141.0, which the API rejects for newer models.

Fix

Bump the dependency to ^0.144.0. The lockfile diff only touches @openai/codex / @openai/codex-sdk and their platform-specific binary packages.

Verification

Tested on a Windows deployment of the published 1.36.1 package by upgrading the installed SDK in place to 0.144.1:

  • gpt-5.6-sol session now works end-to-end (real streamed reply)
  • Regression: gpt-5.5 sessions continue to work, no API breakage observed
  • No crashes or behavioral changes in the Codex provider path

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the Codex SDK dependency to a newer version.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 05d5d6cd-7504-416e-a22b-4873a81f6f4e

📥 Commits

Reviewing files that changed from the base of the PR and between 5884573 and 3bebad1.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The package manifest updates the @openai/codex-sdk dependency range from ^0.141.0 to ^0.144.0.

Changes

Codex SDK update

Layer / File(s) Summary
Update Codex SDK dependency
package.json
The declared @openai/codex-sdk version range changes from ^0.141.0 to ^0.144.0.

Possibly related PRs

Suggested reviewers: blackmammoth, jarrodshillo0-rgb

Poem

A bunny found a newer SDK,
And nudged the version up with glee.
The manifest now wears fresh code,
Along its dependency road.
Hop, hop—upgrade complete!

🚥 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 accurately describes the dependency bump and the model-support motivation behind the change.
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.
✨ 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

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

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