OpenCode is not respecting the model that I've set in my config #907

Closed
opened 2026-02-16 17:28:43 -05:00 by yindo · 1 comment
Owner

Originally created by @asadmoosvi on GitHub (Jul 25, 2025).

Originally assigned to: @thdxr on GitHub.

opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "model": "github-copilot/claude-sonnet-4",
  "autoupdate": true,
}

Up until the latest update this worked fine, but now whenever I open the program, it sets the model to the last used model instead of the one set in my config.

I'd like to add that it does select the correct model when I run it using opencode run, but not when I launch the program normally.

Is this expected?

Originally created by @asadmoosvi on GitHub (Jul 25, 2025). Originally assigned to: @thdxr on GitHub. opencode.json: ```json { "$schema": "https://opencode.ai/config.json", "model": "github-copilot/claude-sonnet-4", "autoupdate": true, } ``` Up until the latest update this worked fine, but now whenever I open the program, it sets the model to the last used model instead of the one set in my config. I'd like to add that it does select the correct model when I run it using `opencode run`, but not when I launch the program normally. Is this expected?
yindo closed this issue 2026-02-16 17:28:44 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 25, 2025):

fixed in v0.3.70

@thdxr commented on GitHub (Jul 25, 2025): fixed in v0.3.70
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#907