Repository navigation
DX-3062: list Neon GPT-5.4 and newer under Codex only - #258
Merged
Merged
Conversation
Neon refuses tool calls with reasoning for these models on chat completions, which OpenCode needs, so they move out of the CLI's OpenCode Neon group and the SDK docs say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The picker, documentation, tests, and release metadata consistently implement the stated compatibility restriction.
Review effort: Balanced
Findings: None
What changed in this PR
Restricts Neon GPT-5.4+ models to Codex while documenting the endpoint limitation.
Changes:
- Removes affected models from the OpenCode picker.
- Updates TypeScript and Python documentation.
- Adds regression coverage and release notes.
| File | Description |
|---|---|
packages/sdk/src/types.ts |
Documents Neon model compatibility. |
packages/python-sdk/upstash_box/types.py |
Mirrors compatibility documentation. |
packages/python-sdk/CHANGELOG.md |
Records the Python documentation update. |
packages/cli/src/models.ts |
Removes unsupported OpenCode options. |
packages/cli/src/__tests__/models.test.ts |
Tests Codex-only placement. |
.changeset/neon-gpt-codex-only.md |
Adds package release notes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
CahidArda
approved these changes
Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Companion to upstash/box-backend#288. Neon refuses tool calls with reasoning on chat completions for GPT-5.4 and newer, and OpenCode needs that combination, so these models run on Codex only.
NeonModeldoc comments in TypeScript and Python say which models are Codex-only and why.neon/gpt-*already defaults to Codex, except GPT OSS.Tests
The model list comes from probes against Neon plus real prod runs; see box-backend#288.
🤖 Generated with Claude Code