Skip to content

DX-3062: list Neon GPT-5.4 and newer under Codex only - #258

Merged
CahidArda merged 1 commit into
mainfrom
DX-3062-neon-gpt-opencode
Oct 6, 2026
Merged

CahidArda merged 1 commit into
mainfrom
DX-3062-neon-gpt-opencode

Conversation

@alitariksahin

Copy link
Copy Markdown
Collaborator

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.

  • CLI picker: GPT-6 Astra, GPT-5.6 Sol, Terra and Luna, GPT-5.5, GPT-5.4, 5.4 Mini and 5.4 Nano are removed from the OpenCode Neon group. They stay in the Codex group. GPT-5 Mini, GPT-5 Nano and Grok 4.6 remain under both.
  • Docs: the NeonModel doc comments in TypeScript and Python say which models are Codex-only and why.
  • Inference: unchanged. neon/gpt-* already defaults to Codex, except GPT OSS.

Tests

  • TypeScript SDK: 488 tests passed.
  • CLI: 550 tests passed, including a new check that these models are under Codex and not OpenCode.
  • Python SDK: 272 tests passed, Ruff clean.

The model list comes from probes against Neon plus real prod runs; see box-backend#288.

🤖 Generated with Claude Code

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>
@linear-code

linear-code Bot commented Oct 6, 2026

Copy link
Copy Markdown

DX-3062

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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
CahidArda merged commit e636b20 into main Oct 6, 2026
11 of 12 checks passed
@CahidArda
CahidArda deleted the DX-3062-neon-gpt-opencode branch October 6, 2026 13:51
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.

3 participants