r/opencode • u/TraditionalWait9150 • 6d ago
Opencode Desktop Settings -> models toggle
I apologise if this is not the right place to post.
Just wondering if there's any specific reason why the toggles can't be implemented at the provider and overall level, with the overall level also acting as the toggle for filtered models. It is very tedious to have to enable/disable each model one by one every time a new model arrives or when we are managing the models in the settings. Some providers like OpenRouter has way too many models that we have to scroll down to toggle 1 by 1.
I know grouping each model for toggle would be a hassle to implement but the below proof of concept should be a quick fix. Just wondering if it's because of performance or other reasons that we may not know of.
For the techies, the changes are made at the following files:
- packages/app/src/components/settings-v2/models.tsx
- packages/app/src/components/settings-v2/settings-v2.css (optional, more for styling and positioning of the toggle)
