Skip to content

Update gemma-4-31b to gemma-4-31b-it that’s the damn correct name #21067

@immapolar

Description

@immapolar

Description

Every time I send a prompt in opencode with Gemma 4 selected, I get this crap:

models/gemma-4-31b is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see available models.

That’s because the damn name should be models/gemma-4-31b-it, not models/gemma-4-31b (try a curl on ListModels, you’ll see). gemma-4-31b-it works in Goose, but Goose is ass; opencode is better.

Also, opencode ignores any config paths or files I try to force it to use gemma-4-31b-it; it sticks with god damn gemma-4-31b.

Plugins

None

OpenCode version

1.3.15

Steps to reproduce

Common sense.

Screenshot and/or share link

Image

Operating System

6.6.87.2-microsoft-standard-WSL2

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions