Skip to content

Attempting to use Claude Sonnet 4.5 gives "Bad Request". Recent usage shows Haiku being used. #3724

Closed

Description

@MostHated

Description

I signed up for Zen, put my api key into opencode and then selected Claude Sonnet 4.5 and tried to do /init in a dir and it gave me a Bad Request message

OpenCode version

v1.0.10

Steps to reproduce

I had just installed opencode, did the auth command, put in my api key. I then opened the app in the directory I wanted, typed /init

Screenshot and/or share link

Operating System

Ubuntu 24.04

Terminal

Warp (with all warp AI disabled)

Activity

  1. github-actions commented on Nov 2, 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.

  2. self-assigned this
    on Nov 2, 2025
  3. rekram1-node commented on Nov 2, 2025

    @rekram1-node
    Collaborator

    ill take a look

  4. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 2, 2025
  5. MostHated commented on Nov 3, 2025

    @MostHated
    Author

    I just ran the upgrade command a few minutes ago and tried again, it seems the issue was resolved in one of the recent updates.

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