opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Error saying The requested model is not supported. when trying to create new agent

Open ThatDeltaGuy opened this issue 4 weeks ago • 4 comments

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

  1. run opencode agent create
  2. enter location and description
  3. it errors out

Screenshot and/or share link

Image

Operating System

Windows 11 WSL Ubuntu

Terminal

Windows Terminal

ThatDeltaGuy avatar Dec 15 '25 16:12 ThatDeltaGuy

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 create command (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.

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