opencode
opencode copied to clipboard
model_cycle_favorite / model_cycle_favorite_reverse commands are no longer keybindable
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
- Try binding either of these commands to a key.
- Observe a fatal error when launching opencode.
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
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).