Repository navigation
Description
Description
GitHub Copilot OAuth login succeeds and the account is stored, but no Copilot models ever appear in /models or opencode models. The model-list sync is never attempted after login: the server log contains no sync success or failure for the fresh login, only two historical entries:
2026-09-25 level=WARN message="failed to sync GitHub Copilot models" cause="TimeoutError: The operation timed out."
2026-09-26 level=WARN message="failed to sync GitHub Copilot models" cause="TimeoutError: The operation timed out."
Details:
- Fresh device-flow login completed today (github.com, Copilot Free plan): server log shows
credential created ... integrationID=github-copilot type=oauth, andopencode auth listshowsGitHub Copilot / GitHub Copilot / stored. - After login:
opencode modelslists 154 models from other providers, 0 Copilot entries. opencode auth switch github-copilot "GitHub Copilot"reports success but triggers no sync (nothing new in the log) and no models.opencode service restartfiresprovider.updated/model.updatedevents but also triggers no sync.- The sync endpoint is reachable from this machine (
https://api.githubcopilot.com/modelsanswers HTTP 400 unauthenticated,https://api.github.comanswers 200), and the binary referenceshttps://api.githubcopilot.com, so this is not a general connectivity failure.
Note on possible duplicates: this may be related to #34644 (auto-only plans returning no model list — this account is on Copilot Free, not Student), but the symptom differs (V2 logs sync TimeoutErrors, then no sync attempts at all, rather than a silent drop / Provider not found). It differs from #38812 (V1, Pro/Pro+, model cache populated with 27 models but provider not surfacing — here no model list is ever fetched). Happy to consolidate if maintainers find the same root cause.
Plugins
None (no plugins directory; a third-party picker plugin was briefly tried and removed, unrelated)
OpenCode version
2.0.18 (channel latest, portable Windows build, background service)
Steps to reproduce
- Run
/connectin the TUI, select GitHub Copilot, complete the device flow on github.com (Copilot Free account). - Confirm
opencode auth listshows the storedGitHub Copilotoauth account. - Run
/modelsoropencode models— nocopilot/*entries. - Run
opencode auth switch github-copilot "GitHub Copilot"— succeeds, still no models, no sync in the log. - Run
opencode service restart— still no models, no sync in the log.
Screenshot and/or share link
No response
Operating System
Windows 11 IoT Enterprise LTSC 10.0.26100 x64
Terminal
Windows Console Host (conhost), Windows PowerShell 5.1
Activity
github-actions commentedon Sep 28, 2026
Thanks for updating the issue with the required description and reproduction details!
alexbarton commentedon Oct 5, 2026
Looks like I have exactly the same issue here …
rekram1-node commentedon Oct 6, 2026
Model sync definitely runs after login... would be interested in getting logs and knowing what plan u use? Are u student plan? Are u free?
opencode-agent commentedon Oct 17, 2026
Closing as a duplicate of #34644.
GitHub Copilot Free and Student plans now only allow Auto model selection, so Copilot's
/modelsreturns every model withmodel_picker_enabled: falseand OpenCode ends up listing no Copilot models. #34644 tracks adding agithub-copilot/automodel for these plans; the fix is in progress in #55960.