Model loading on startup not according to docs #954

Closed
opened 2026-02-16 17:28:54 -05:00 by yindo · 0 comments
Owner

Originally created by @neominik on GitHub (Jul 28, 2025).

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.

Originally created by @neominik on GitHub (Jul 28, 2025). 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.
yindo closed this issue 2026-02-16 17:28:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#954