You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenCode V2 filters gpt-6-astra out of the model catalog when using OpenAI ChatGPT/Codex OAuth, even when the model is explicitly configured and the connected account has access to it.
Environment
opencode version: 0.0.0-beta-19124
OS: Linux 6.6.87.2-microsoft-standard-WSL2, x86_64
Terminal: VS Code (TERM_PROGRAM=vscode, TERM=xterm-256color, COLORTERM=truecolor)
Shell: /usr/bin/zsh
Install/channel: OpenCode V2 beta
Active plugins: None configured
Reproduction
Connect OpenAI using ChatGPT/Codex OAuth with an account that has access to GPT-6 Astra.
Add the following to ~/.config/opencode/opencode.jsonc:
That fix updates packages/opencode/src/plugin/openai/codex.ts, but V2 has a separate implementation in packages/core/src/plugin/provider/openai.ts. The current beta and v2 branches still use the decimal-only regex shown above.
If this is intentionally tracking the V2-specific fix separately (since V2 has a separate implementation in packages/core), that context is already noted in the issue and this can be kept open as a distinct V2 tracking issue.
Activity
github-actions commentedon Sep 5, 2026
This issue might be a duplicate of existing issues. Please check:
If this is intentionally tracking the V2-specific fix separately (since V2 has a separate implementation in
packages/core), that context is already noted in the issue and this can be kept open as a distinct V2 tracking issue.rekram1-node commentedon Sep 5, 2026
alreaady fixed