The selected model is not taken into account #4367

Open
opened 2026-02-16 17:43:35 -05:00 by yindo · 4 comments
Owner

Originally created by @todor-a on GitHub (Jan 7, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Any idea why this happens? Although I've chosen one model, it defaults to another.

https://github.com/user-attachments/assets/ecf71846-5aeb-4640-81a9-b28fdd27bbdc

Here is my config:

➜ cat ~/.config/opencode/opencode.json                                                 took 6s
{
  "$schema": "https://opencode.ai/config.json",
  "theme": "opencode",
  "autoupdate": true,
  "permission": {
    "bash": {
      "find": "allow",
      "git commit": "ask"
    }
  },
}

Plugins

none

OpenCode version

1.1.4

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macos 26

Terminal

ghostty

Originally created by @todor-a on GitHub (Jan 7, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Any idea why this happens? Although I've chosen one model, it defaults to another. https://github.com/user-attachments/assets/ecf71846-5aeb-4640-81a9-b28fdd27bbdc Here is my config: ``` ➜ cat ~/.config/opencode/opencode.json took 6s { "$schema": "https://opencode.ai/config.json", "theme": "opencode", "autoupdate": true, "permission": { "bash": { "find": "allow", "git commit": "ask" } }, } ``` ### Plugins none ### OpenCode version 1.1.4 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macos 26 ### Terminal ghostty
yindo added the bug label 2026-02-16 17:43:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 7, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6928: Subtask commands do not inherit model
  • #6636: Subagent with specific model results in model change in build and plan mode
  • #4344: Selected model for agent in TUI doesn't stick between Agent Alternation
  • #4901: SDK Messages cause switch back to default model
  • #4475: Plugins using noReply seem to cause model to switch to agent default

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 7, 2026): This issue might be a duplicate of existing issues. Please check: - #6928: Subtask commands do not inherit model - #6636: Subagent with specific model results in model change in build and plan mode - #4344: Selected model for agent in TUI doesn't stick between Agent Alternation - #4901: SDK Messages cause switch back to default model - #4475: Plugins using noReply seem to cause model to switch to agent default Feel free to ignore if none of these address your specific case.
Author
Owner

@capponMatteo commented on GitHub (Jan 7, 2026):

@todor-a are you using superpowers? I observed the same behavior when I tested it out a few days ago 😄

@capponMatteo commented on GitHub (Jan 7, 2026): @todor-a are you using [superpowers](https://github.com/obra/superpowers)? I observed the same behavior when I tested it out a few days ago 😄
Author
Owner

@todor-a commented on GitHub (Jan 8, 2026):

@capponMatteo I am.

@todor-a commented on GitHub (Jan 8, 2026): @capponMatteo I am.
Author
Owner

@capponMatteo commented on GitHub (Jan 8, 2026):

As a workaround, until someone discovers the reason, if you disable it it should go back to working as expected 😄

@capponMatteo commented on GitHub (Jan 8, 2026): As a workaround, until someone discovers the reason, if you disable it it should go back to working as expected 😄
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4367