1.0.2 - model_cycle_recent action is now missing #2399

Closed
opened 2026-02-16 17:35:28 -05:00 by yindo · 2 comments
Owner

Originally created by @ariane-emory on GitHub (Oct 31, 2025).

Originally assigned to: @thdxr on GitHub.

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

Originally created by @ariane-emory on GitHub (Oct 31, 2025). Originally assigned to: @thdxr on GitHub. ### 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
yindo added the opentuibug labels 2026-02-16 17:35:28 -05:00
yindo closed this issue 2026-02-16 17:35:28 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 31, 2025):

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

  • #3619: [FEATURE]:shortcut/command for cycling through recent models.

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.

@github-actions[bot] commented on GitHub (Oct 31, 2025): This issue might be a duplicate of existing issues. Please check: - #3619: [FEATURE]:shortcut/command for cycling through recent models. 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.
Author
Owner

@thdxr commented on GitHub (Oct 31, 2025):

fixed

@thdxr commented on GitHub (Oct 31, 2025): fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2399