opencode
opencode copied to clipboard
Error saying The requested model is not supported. when trying to create new agent
Description
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.
OpenCode version
1.0.154
Steps to reproduce
- run opencode agent create
- enter location and description
- it errors out
Screenshot and/or share link
Operating System
Windows 11 WSL Ubuntu
Terminal
Windows Terminal
This issue might be a duplicate of existing issues. Please check:
- #3956: Agent creation flow is failing with similar errors during agent generation
- #4916: Can't create an agent with
opencode agent createcommand (recently closed) - #3287: Opencode Github Agent with GitHub Copilot provider throws API errors
Feel free to ignore if none of these address your specific case.