Skip to content

Model loading on startup not according to docs #1371

Closed

Description

@neominik

According to the docs: https://github.com/sst/opencode/blob/10d749a85ee7852c22312de5e0db4f8fb346dd9e/packages/web/src/content/docs/docs/models.mdx?plain=1#L185-L202

However, the actual behavior in my case is that it always uses anthropic/claude-sonnet-4 on startup, no matter what my recent model was or what I set in the model key in the config. I like to use some OpenRouter models from time to time and it would be nice if I wouldn't have to set the model manually each time or deactivate the anthropic provider for it to work.

Additionally, the docs should probably mention the --model CLI option as the first check.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions