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
{{ message }}
Repository navigation
Error saying The requested model is not supported. when trying to create new agent #5566
Using github copilot i can login and use the CLI as normal, it will handle requests, let me choose models etc. works as intended. However when trying to create a new model i get "LLM failed to generate agent: The requested model is not supported."
Trying "opencode agent create -m github-copilot/claude-sonnet-4.5" also doesnt seem to be a valid command.
Please upgrade to the latest version and try again running opencode agent create --print-logs. Also, if I'm not wrong this command opencode agent create -m github-copilot/claude-sonnet-4.5 should work now.
I've tried it again, unfortunately opencode agent create gave the same issue, however opencode agent create -m github-copilot/claude-sonnet-4.5 worked as expected and i can now create agents again.
Activity
github-actions commentedon Dec 15, 2025
This issue might be a duplicate of existing issues. Please check:
opencode agent createcommand #4916: Can't create an agent withopencode agent createcommand (recently closed)Feel free to ignore if none of these address your specific case.
cravenceiling commentedon Jan 9, 2026
Please upgrade to the latest version and try again running
opencode agent create --print-logs. Also, if I'm not wrong this commandopencode agent create -m github-copilot/claude-sonnet-4.5should work now.ThatDeltaGuy commentedon Jan 9, 2026
I've tried it again, unfortunately
opencode agent creategave the same issue, howeveropencode agent create -m github-copilot/claude-sonnet-4.5worked as expected and i can now create agents again.cravenceiling commentedon Jan 9, 2026
What was the output when running
opencode agent create --print-logs?Set27 commentedon Jan 20, 2026
It will try to check all avaliable models before run, so you have to specify the model manually as described in
#5566 (comment)
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.