Skip to content

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

@MostHated

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)

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