Repository navigation
feat(core): add GPT 6.2 Sol and Astra to the ChatGPT model list - #64508
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
This works as described. Adding the four IDs to the fallback set lets the catalog's OpenAI gpt-6.2-sol and gpt-6.2-astra entries, and their -fast IDs, through for ChatGPT sign-in. I checked by adding the IDs to the existing fallback-list test in provider-chatgpt.test.ts: it fails on the base and passes with this change. Both models are already in OpenAI's entries in the live models.opencode.ai catalog.
Public API: unchanged.
No blocking concerns.
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
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.
Issue for this PR
Closes #
Type of change
What does this PR do?
Adds
gpt-6.2-sol,gpt-6.2-astraand their-fastvariants tofallbackModelsin the ChatGPT token-sharing provider, so they show up for ChatGPT sign-ins like the 6.1 models. Zen got these in #64491. The Codex login inopenai.tsgates by version, so 6.2 already passes there.How did you verify your code works?
bun test test/plugin/provider-chatgpt.test.tsinpackages/core: 24 pass.auth login openai --method chatgpt-token-sharingon a local build.opencode modelsnow lists all four 6.2 models, and they show up in the TUI model picker (screenshot below).Screenshots / recordings
Checklist