Skip to content

Selected model changes for some reason, even the child processes don't take the selected model #12250

Closed as not planned

Description

@harsh-batheja

Description

If switching model, the selected model switches back to big pickle, the child processes are also going back to big pickle even if some other model is selected

Plugins

Oh-my-opencode

OpenCode version

1.1.48

Steps to reproduce

Open opecode
Change the model
Send a message
Voila you're back to the old model

Screenshot and/or share link

No response

Operating System

Macos 26.2

Terminal

No response

Activity

  1. github-actions commented on Feb 5, 2026

    @github-actions
    Contributor

    I've reviewed existing issues and found no exact duplicates for this specific model reversion behavior. However, the following related issues about model handling may be worth checking:

    This appears to be a unique issue involving model state not persisting properly when sending messages, especially with child processes. The model switching back to a default ('big pickle') suggests a state management or fallback logic issue specific to how the currently selected model is tracked during message sending.

  2. lee-b commented on Feb 14, 2026

    @lee-b

    Seeing this too, since today's v1.2.2 update.

  3. rekram1-node commented on Feb 14, 2026

    @rekram1-node
    Contributor

    @lee-b are u using plugins?

    Try without

  4. mblarsen commented on Feb 17, 2026

    @mblarsen

    Same happens to me using oh-my-opencode-slim

  5. szabolcs-dekany commented on Feb 25, 2026

    @szabolcs-dekany

    Similar thing, started a session in one model, randomly changed to a different one on the fly, seemingly the previously used model

  6. zaxbysauce commented on Mar 6, 2026

    @zaxbysauce

    This was not occurring for me but is now happening every message. Windows 11 25H2, OpenCode v1.2.20

  7. bohdansavastieiev commented on Apr 13, 2026

    @bohdansavastieiev

    It seems like the issue is caused by the fact that there are different states for selected models in Build and Plan mode. So if you switch the model in Plan mode, the model selected for Build mode is still the previous one. It feels counterintuitive, especially during workflows where you spend some time in a Plan mode, and then when start to build, the model is different. But I may see the benefit of such decision, so not sure if this is the expected behavior or not.

  8. removed
    bugSomething isn't working
    on May 3, 2026
  9. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  10. lee-b commented on Jul 3, 2026

    @lee-b

    I think a large part of the problem is that ctrl-x u effectively undoes any model changes, as well as undoing conversation history. The ux presents ctrl-x u / ctrl-x r as navigating through messages, but it navigates through multiple orthogonal (high?) dimensions of control at the same time: actual history in some senses, but not all senses.

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

Metadata

Metadata

Assignees

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