Skip to content

fix(provider): accept OpenAI ultrafast service tier - #53875

Merged
rekram1-node merged 2 commits into
devfrom
openai-ultrafast
Oct 8, 2026
Merged

rekram1-node merged 2 commits into
devfrom
openai-ultrafast

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Extend the existing @ai-sdk/[email protected] patch to accept serviceTier: "ultrafast" for Chat Completions and Responses, including matching type declarations.
  • Retain the existing explicit-tier passthrough patch. SDK versions, manifests, and lockfile are unchanged.
  • Add one offline regression test for GPT-6 Astra Responses streaming, checking that service_tier: "ultrafast" reaches the outgoing request.

Fixes #53538.

Validation

  • Reproduced the validation failure before patching.
  • Provider suite passed before trimming the test matrix; the remaining focused regression test passes.
  • bun typecheck from packages/opencode
  • Prettier, oxlint, and git diff --check
  • Verified the patch applies to the original published 3.0.88 package.

No live-provider calls were made.

@rekram1-node
rekram1-node merged commit 5e2df97 into dev Oct 8, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the openai-ultrafast branch October 8, 2026 05:52
Edo771977 pushed a commit to Edo771977/opencode that referenced this pull request Oct 8, 2026
Nix hashes, Sonnet 5.5 in the Zen docs tables, and the OpenAI ultrafast
service tier fix (anomalyco#53875), which grows the @ai-sdk/[email protected] patch
without changing the version it is pinned to. No file this fork has
touched is in the merge.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017Gr2KVmmJbKQPntkpbsnP9
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.

GPT-6 Astra Ultrafast fails: serviceTier "ultrafast" rejected

1 participant