Skip to content

OpenCode switching models unbidden #9716

Closed

Description

@jrunning

Description

I've been using OpenCode for about a week. I've been working in $HOME/projects/my-project. I've been using GLM 4.7 from OpenCode Zen. It's been working great!

However, I just tried to run it in $HOME (instead of a subdirectory) and as soon as I typed a message I got a "No payment method" error, and it appeared to switch to Gemini 3 Pro. (I don't have a payment method set up with OpenCode Zen.)

I tried running it again in the other directory ($HOME/projects/my-project) and it worked again and didn't switch models. I tried a third directory, $HOME/misc, and I got the error again.

Scratch that. After switching directories a couple times I'm getting the error no matter the directory.

Plugins

Superpowers, Beans

OpenCode version

1.1.28

Steps to reproduce

I'm not sure how to reproduce this.

Screenshot and/or share link

Screen.Recording.2026-01-20.at.4.48.03.PM.mov

Operating System

Ubuntu 24.04

Terminal

ssh in Ghostty

Activity

  1. github-actions commented on Jan 20, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if your specific case is different.

  2. jrunning commented on Jan 21, 2026

    @jrunning
    Author

    As far as I can tell this is not a duplicate of the above-linked issue.

  3. jrunning commented on Jan 21, 2026

    @jrunning
    Author

    Ah-ha. I ran /connect and re-entered my Zen API key and it's working again.

    The behavior still seems like a bug (or, at a minimum, poor UX), though, so I'm going to leave this open for now.

    Edit: Apparently I now have to run /connect anew every time I start OpenCode, which is not ideal and definitely a bug.

  4. ebreen commented on Jan 21, 2026

    @ebreen

    User @huangy-coder confirmed it was the skill called "Superpowers" that caused this issue in issue #9800

    I can confirm after i uninstalled Superpowers it works again. Check if you have this skill installed.

  5. jrunning commented on Jan 21, 2026

    @jrunning
    Author

    Yep, @ebreen's advice worked. Thanks!

    FWIW there's an issue for this in the Superpowers repo: obra/superpowers#301 Hopefully they'll get it sorted on their end.

    Closing.

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