[PR #899] [MERGED] ci(opencode): register openai/gpt-5.5 under cloudflare-ai-gateway #932

Closed
opened 2026-05-06 13:10:55 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/899
Author: @NathanDrake2406
Created: 4/25/2026
Status: Merged
Merged: 4/25/2026
Merged by: @james-elicx

Base: mainHead: nathan/opencode-gpt-5.5-workaround


📝 Commits (4)

  • ce5ee1a ci(bonk): switch bonk workflow to GPT-5.5 xhigh variant
  • 757b35d ci(bonk): extend GPT-5.5 xhigh switch to bigbonk, agent defs, and docs
  • 156aaa1 Merge pull request #4 from NathanDrake2406/claude/update-bonk-gpt-workflow-9OzsQ
  • 97d3758 ci(opencode): register openai/gpt-5.5 under cloudflare-ai-gateway

📊 Changes

6 files changed (+48 additions, -7 deletions)

View changed files

📝 .github/workflows/bigbonk.yml (+2 -2)
📝 .github/workflows/bonk.yml (+2 -1)
📝 .opencode/agents/reviewer.md (+1 -1)
📝 .opencode/agents/viguy.md (+1 -1)
📝 CONTRIBUTING.md (+2 -2)
opencode.json (+40 -0)

📄 Description

What

Add opencode.json registering openai/gpt-5.5 under the built-in cloudflare-ai-gateway provider, mirroring the upstream models.dev spec.

Why

After #898, bonk/bigbonk throw ProviderModelNotFoundError. opencode's bundled models snapshot predates GPT-5.5 (2026-04-23) and the cloudflare-ai-gateway entry on models.dev does not list it yet, so provider.models["openai/gpt-5.5"] lookup fails before any network call. Failing run: https://github.com/cloudflare/vinext/actions/runs/24938461196.

opencode merges user-supplied provider models into the resolved dict, so this entry unblocks invocations without an opencode release.

Tradeoffs

  • Custom-provider configs in opencode-action context have regressed before (anomalyco/opencode#7958). If /bigbonk still fails after merge, revert + downgrade to gpt-5.4.
  • variant: xhigh reasoning effort mapping for a custom-registered model is untested; may fall back to default effort.
  • Duplicates upstream config until the snapshot catches up.

Removal plan

@james-elicx fyi. I'm tracking anomalyco/models.dev#1596 (cloudflare-ai-gateway/openai/gpt-5.5 entry). Once that lands AND opencode publishes a release with a refreshed snapshot, I'll delete opencode.json in a follow-up.

Validation

  • Lookup throw site verified against opencode source (packages/opencode/src/provider/provider.ts).
  • Test on this PR by commenting /bigbonk review before merging to main.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/899 **Author:** [@NathanDrake2406](https://github.com/NathanDrake2406) **Created:** 4/25/2026 **Status:** ✅ Merged **Merged:** 4/25/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `nathan/opencode-gpt-5.5-workaround` --- ### 📝 Commits (4) - [`ce5ee1a`](https://github.com/cloudflare/vinext/commit/ce5ee1afe1694e4613d98468818c0b194b92bad6) ci(bonk): switch bonk workflow to GPT-5.5 xhigh variant - [`757b35d`](https://github.com/cloudflare/vinext/commit/757b35d702e998af2ab8347ea8adb576a9c40819) ci(bonk): extend GPT-5.5 xhigh switch to bigbonk, agent defs, and docs - [`156aaa1`](https://github.com/cloudflare/vinext/commit/156aaa1c4a79ee130473bcd75617c1f71a37266a) Merge pull request #4 from NathanDrake2406/claude/update-bonk-gpt-workflow-9OzsQ - [`97d3758`](https://github.com/cloudflare/vinext/commit/97d375870bc6896c2964546108d45404a3512608) ci(opencode): register openai/gpt-5.5 under cloudflare-ai-gateway ### 📊 Changes **6 files changed** (+48 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/bigbonk.yml` (+2 -2) 📝 `.github/workflows/bonk.yml` (+2 -1) 📝 `.opencode/agents/reviewer.md` (+1 -1) 📝 `.opencode/agents/viguy.md` (+1 -1) 📝 `CONTRIBUTING.md` (+2 -2) ➕ `opencode.json` (+40 -0) </details> ### 📄 Description ## What Add `opencode.json` registering `openai/gpt-5.5` under the built-in `cloudflare-ai-gateway` provider, mirroring the upstream models.dev spec. ## Why After #898, bonk/bigbonk throw `ProviderModelNotFoundError`. opencode's bundled models snapshot predates GPT-5.5 (2026-04-23) and the `cloudflare-ai-gateway` entry on models.dev does not list it yet, so `provider.models["openai/gpt-5.5"]` lookup fails before any network call. Failing run: https://github.com/cloudflare/vinext/actions/runs/24938461196. opencode merges user-supplied provider models into the resolved dict, so this entry unblocks invocations without an opencode release. ## Tradeoffs - Custom-provider configs in opencode-action context have regressed before (anomalyco/opencode#7958). If `/bigbonk` still fails after merge, revert + downgrade to `gpt-5.4`. - `variant: xhigh` reasoning effort mapping for a custom-registered model is untested; may fall back to default effort. - Duplicates upstream config until the snapshot catches up. ## Removal plan @james-elicx fyi. I'm tracking anomalyco/models.dev#1596 (cloudflare-ai-gateway/openai/gpt-5.5 entry). Once that lands AND opencode publishes a release with a refreshed snapshot, I'll delete `opencode.json` in a follow-up. ## Validation - Lookup throw site verified against opencode source (`packages/opencode/src/provider/provider.ts`). - Test on this PR by commenting `/bigbonk review` before merging to main. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:10:55 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#932
No description provided.