opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Github Copilot Models missing

Open conradkoh opened this issue 1 month ago • 6 comments

Description

All github copilot models are missing from the model selection when using Ctrl + X -> M, except for GPT-5.1-codex-max.

The last working version was 1.0.193.

Image

OpenCode version

1.0.203

Steps to reproduce

  1. Open opencode
  2. Press Ctrl + X then m
  3. Search for github
  4. See that models like opus and sonnet are all missing

Screenshot and/or share link

No response

Operating System

MacOS 26.1

Terminal

iTerm2 / VSCode

conradkoh avatar Dec 27 '25 15:12 conradkoh

This issue might be a duplicate of existing issues. Please check:

  • #6066: VSCode Extension loadOpenCodeConfig() only loading 2 providers - GitHub Copilot models missing due to hardcoded provider loading
  • #5623: Custom subagents with explicit model config throw ProviderModelNotFoundError
  • #5248: gpt-5.1-codex-max missing from model selection (similar model availability issue)

The root cause appears to be related to how GitHub Copilot models are being loaded or filtered in version 1.0.203 compared to 1.0.193. If you're using the VSCode extension, #6066 specifically addresses the loadOpenCodeConfig() function that only extracts anthropic and opencode providers.

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Dec 27 '25 15:12 github-actions[bot]

Related to https://github.com/sst/opencode/issues/6180 perhaps, but opening a new issue because I see a fix raised that seems to only address the local models issue and I don't want this to be conflated with that fix.

conradkoh avatar Dec 27 '25 15:12 conradkoh

The same goes for Kimi For Coding. The only model disappeared after updating from v1.0.202 to 1.0.203. I've tried reconnecting the provider via /connect, but the model list is completely empty.

Image

nyuuzyou avatar Dec 27 '25 15:12 nyuuzyou

Image

rekram1-node avatar Dec 28 '25 00:12 rekram1-node

I think there is a bug w/ the recents list, maybe thats the issue...

rekram1-node avatar Dec 28 '25 00:12 rekram1-node

might be fixed in dev if anyone wants to try?

bunx opencode-ai@dev

rekram1-node avatar Dec 28 '25 01:12 rekram1-node

Dev version fixed this issue for me. I was able to see all models for Anthropic if I launched for in Web UI, but I didn't see Sonnet 4.5 models available from TUI in version 1.0.204.

haapjari avatar Dec 28 '25 02:12 haapjari

sweet, ill release tmr, if you are encountering this another work around is:

rm ~/.local/state/opencode/model.json in the meantime

This was the fix

rekram1-node avatar Dec 28 '25 02:12 rekram1-node