GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Model selection is "lost" on continuation and Agent selection is "lost" on compaction · Issue #8349 · anomalyco/opencode

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Model selection is "lost" on continuation and Agent selection is "lost" on compaction#8349
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't workingzenRelates to Zen

Description

@ramarivera
ramarivera
opened on Jan 14, 2026
Issue body actions

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

Next
  1. ramarivera
    added
    bugSomething isn't working
    on Jan 14, 2026
  2. github-actions
    assigned
    rekram1-node
    on Jan 14, 2026
  3. github-actions
    added
    zenRelates to Zen
    on Jan 14, 2026
  4. github-actions commented on Jan 14, 2026

    @github-actions
    github-actionsBot
    on Jan 14, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Model switches back to the original selection after prompting #4281: Model switches back to the original selection after prompting
    • Plugins using noReply seem to cause model to switch to agent default  #4475: Plugins using noReply seem to cause model to switch to agent default
    • ACP loadSessionMode doesn't restore persisted model/agent from session messages #7804: ACP loadSessionMode doesn't restore persisted model/agent from session messages
    • Wrong agent used after compaction #4546: Wrong agent used after compaction
    • Compaction does not work after changing models sometimes #6474: Compaction does not work after changing models sometimes
    • TUI: User selected agent/model is overwritten by server defaults when creating a new session #7948: TUI: User selected agent/model is overwritten by server defaults when creating a new session

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

  5. 6 remaining items

  6. thdxr commented on Mar 25, 2026

    @thdxr
    thdxr
    on Mar 25, 2026
    Member
    More actions

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

  7. thdxr
    closed this as completedon Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.