Skip to content

feat(opencode): add gpt-5.4 model support#16233

Open
dev-mirzabicer wants to merge 1 commit intoanomalyco:devfrom
dev-mirzabicer:feat/gpt-5.4-model
Open

feat(opencode): add gpt-5.4 model support#16233
dev-mirzabicer wants to merge 1 commit intoanomalyco:devfrom
dev-mirzabicer:feat/gpt-5.4-model

Conversation

@dev-mirzabicer
Copy link

Issue for this PR

Closes #16219

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds GPT-5.4 support across OpenCode provider resolution paths even when bundled or fixture model catalogs are stale. It backfills GPT-5.4 metadata for OpenAI and OpenCode providers, updates Codex OAuth allowlisting, and extends reasoning-effort handling/tests so GPT-5.4 gets the expected variants.

How did you verify your code works?

  • bun test test/provider/provider.test.ts test/provider/transform.test.ts test/plugin/codex.test.ts
  • bun run typecheck
  • bun test (full suite): observed one unrelated flaky failure in test/mcp/oauth-browser.test.ts when run in full-suite context; that file passes when run alone via bun test test/mcp/oauth-browser.test.ts.

Screenshots / recordings

N/A (non-UI)

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

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.

[FEATURE]: Add GPT 5.4 models

1 participant