feat(provider): support GPT-6 Astra - #162
Draft
gregpr07 wants to merge 1 commit into
Draft
Conversation
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.
Change
Support
openai/gpt-6-astrawith API-key authentication. The current release (0.1.20) and live models.dev catalog do not contain Astra.low,medium,high,xhigh,max; default tomedium. Preserve encrypted reasoning across stateless tool calls using the existing Responses route.maxin the native Responses adapter; rejectnone/minimal. Other models retain their previous validation.References: model, API migration, pricing.
Proof
packages/core: catalog + OpenAI plugin tests: 19 pass.packages/opencode: Astra + transform tests: 359 pass. Actual AI SDK request serialization and tool round trips tested for every effort; encrypted reasoning replay and sampling omission asserted at the HTTP boundary.packages/llm: full suite 306 pass, 30 skip (live/recording tests remain skipped).git diff --checkpass.4b22baba2: seven added Astra checks fail before this patch and pass after.Risk / rollout / rollback
Draft, not merge-ready. No dependency update, persisted-data migration, prompt change, browser call, paid API call, or eval dispatch. No claims about API-key entitlement or benchmark performance. Scope is OpenAI API-key routing, not ChatGPT OAuth or third-party gateways.
Opt-in model selection only. Current/legacy model request behavior and existing eval release pins remain unchanged. Catalog fallback is in memory and yields to models.dev on refresh. Revert this commit to remove support; no data rollback needed. After review/merge, a separate release is required before the eval harness can pin a new
bcode_version. One or two exact-task smoke evals still need authorization.Summary by cubic
Adds opt-in support for
openai/gpt-6-astrawith API-key authentication, which the published0.1.20binary and the live models.dev catalog don't list.New Features
low,medium,high,xhigh, andmax(defaultmedium) and replays encrypted reasoning across stateless tool calls on the Responses route.maxin the Responses adapter and rejectsnone/minimalfor Astra; other models keep their previous validation.Written for commit 27201fd. Summary will update on new commits.