Skip to content

Model selection is "lost" on continuation and Agent selection is "lost" on compaction #8349

Closed

Description

@ramarivera

Description

Okay, so the screenshot in this case is about the model selection. So basically, I think I started the chat with Opus 4.5. Then I ran out of my OpenCodeStandQuota, so I changed to GPT, right? Okay, all good. But then when GPT ends its turn and it has some to-dos, Opus 4.5.0, my OpenCode triggers some kind of auto-prompt and that auto-prompt seems to be switching back the model to the model that was before. I don't know at this point, unfortunately, if it's an Opus 4.5.0, my OpenCode.0 thing that it will switch to the model or if it's an OpenCode.0. But yeah, I'm reporting it just in case.

Sorry for the ramblings and the typos, my hand is a bit fucked up and I'm using speech-to-text.

Then for the compaction issue, I think it's much simpler to reproduce. So basically you have to be in plan mode, then run into compaction, and after compaction, even if the UI claims to be still in plan mode, if you ask the agent to do some non-plan-mode action like write files or whatever, it will do it and it will not claim that it has read-only permissions or similar.

Plugins

And the gravity out of my open code, a custom plugin to just to insert the model name as a synthetic message and not a lot more than that, honestly.

OpenCode version

1.1.18

Steps to reproduce

Spoken in the first text box.

Screenshot and/or share link

Image

https://opncd.ai/share/I7Lx4EUD

Operating System

macOS

Terminal

Ghostty + Zellij

Activity

  1. github-actions commented on Jan 14, 2026

    @github-actions
    Contributor

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

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

  2. 6 remaining items

  3. thdxr commented on Mar 25, 2026

    @thdxr
    Member

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

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingzenRelates to Zen

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions