Skip to content

1.0.2 - model_cycle_recent action is now missing #3630

Closed

Description

@ariane-emory

Description

In prior versions of opencode, I was able to do this in my opencode.json file:

  "keybinds": {
    "model_cycle_recent": "alt+tab"
  },

This was an extremely useful, frequently used keybinding for me.

In the new version (1.0.2), I get an error:

Error: Config file at /Users/myusername/.config/opencode/opencode.json is invalid
↳ Unrecognized key: "model_cycle_recent" keybinds

opencode then refuses to start until I remove this keybinding from opencode.json.

Please restore it, model_cycle_recent was a very useful action to be able to use.

OpenCode version

1.0.2

Steps to reproduce

Add the config snippet near the start to opencode.json, try to start opencode, watch it fail to start with the described error message.

Screenshot and/or share link

No response

Operating System

MacOS Sequoia

Terminal

iTerm2

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Oct 31, 2025
  2. github-actions commented on Oct 31, 2025

    @github-actions
    Contributor

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

    Both issues are requesting the restoration of the model_cycle_recent functionality that was removed in version 1.0+. Issue #3619 specifically mentions that the "Toggle recent model" command was removed in the new 1.0 version.

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

  3. thdxr commented on Oct 31, 2025

    @thdxr
    Member

    fixed

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 workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions