opencode icon indicating copy to clipboard operation
opencode copied to clipboard

model_cycle_favorite / model_cycle_favorite_reverse commands are no longer keybindable

Open ariane-emory opened this issue 1 month ago • 1 comments

Description

The model_cycle_favorite / model_cycle_favorite_reverse commands recently added by @kcrommett were apparently damaged by changes a day later that caused them to no longer be keybindable.

I asked GLM, which reported:

1. Nov 25, 2025 - Favorite models feature added with keybinds model_cycle_favorite and model_cycle_favorite_reverse (commit 335f46122)
2. Nov 26, 2025 - Keybinds for favorites were removed from the UI but functionality was kept (commit ec8f2e078)

Should be a pretty easy fix, if no one else wants to pick it up I'll handle it tomorrow.

OpenCode version

1.0.134

Steps to reproduce

  1. Try binding either of these commands to a key.
  2. Observe a fatal error when launching opencode.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

ariane-emory avatar Dec 07 '25 11:12 ariane-emory

This issue relates to keybinds. For keybind-related issues, please also check our pinned keybinds documentation: #4997

Additionally, this may be related to or impacted by:

  • #4243: Cycle through model does not work when a default model is set (similar model cycling functionality)

The keybind removal mentioned in your issue (#4243 dates back to around commit ec8f2e078 when keybinds were removed from the UI).

github-actions[bot] avatar Dec 07 '25 11:12 github-actions[bot]