Skip to content

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

Closed

Description

@ThatDeltaGuy

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 15, 2025
  2. github-actions commented on Dec 15, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. self-assigned this
    on Dec 15, 2025
  4. cravenceiling commented on Jan 9, 2026

    @cravenceiling
    Contributor

    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.

  5. ThatDeltaGuy commented on Jan 9, 2026

    @ThatDeltaGuy
    Author

    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.

  6. cravenceiling commented on Jan 9, 2026

    @cravenceiling
    Contributor

    What was the output when running opencode agent create --print-logs?

  7. Set27 commented on Jan 20, 2026

    @Set27

    It will try to check all avaliable models before run, so you have to specify the model manually as described in
    #5566 (comment)

  8. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions