Github Copilot Models missing #3912

Closed
opened 2026-02-16 17:41:55 -05:00 by yindo · 8 comments
Owner

Originally created by @conradkoh on GitHub (Dec 27, 2025).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @conradkoh on GitHub (Dec 27, 2025). Originally assigned to: @rekram1-node on GitHub. ### 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. <img width="376" height="151" alt="Image" src="https://github.com/user-attachments/assets/8b6d07a5-cec5-4b28-a160-fa882591df75" /> ### 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
yindo added the bug label 2026-02-16 17:41:55 -05:00
yindo closed this issue 2026-02-16 17:41:55 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 27, 2025):

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] commented on GitHub (Dec 27, 2025): 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.
Author
Owner

@conradkoh commented on GitHub (Dec 27, 2025):

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 commented on GitHub (Dec 27, 2025): 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.
Author
Owner

@nyuuzyou commented on GitHub (Dec 27, 2025):

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 commented on GitHub (Dec 27, 2025): 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. <img width="588" height="178" alt="Image" src="https://github.com/user-attachments/assets/650c479d-3ffa-4732-880f-b637ab745138" />
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

Image
@rekram1-node commented on GitHub (Dec 27, 2025): <img width="483" height="334" alt="Image" src="https://github.com/user-attachments/assets/ded9ba8c-7f68-4715-90ab-1677d8ee22df" />
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

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

@rekram1-node commented on GitHub (Dec 27, 2025): I think there is a bug w/ the recents list, maybe thats the issue...
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

might be fixed in dev if anyone wants to try?

bunx opencode-ai@dev

@rekram1-node commented on GitHub (Dec 27, 2025): might be fixed in dev if anyone wants to try? bunx opencode-ai@dev
Author
Owner

@haapjari commented on GitHub (Dec 27, 2025):

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 commented on GitHub (Dec 27, 2025): 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.
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

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 commented on GitHub (Dec 27, 2025): 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](https://github.com/sst/opencode/commit/de28fafb471cca4a79be2b9e0b8767ec852ea5ab)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3912