Repository navigation
Conversation
Settings → Models grouped models by provider with per-model switches only. Reuse the Manage models provider master switch so a whole provider can be shown or hidden at once, and use the existing i18n label on both surfaces.
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #45225
Type of change
What does this PR do?
Settings → Models groups models by provider and already has a per-model visibility switch, but the provider-level master switch from Manage models was never added to this tab.
This reuses the existing
providerVisible/setProviderVisibilitylogic in the Settings Models provider header so one switch can show or hide every model from that provider. The same i18n key (dialog.model.manage.provider.toggle) is now used for the switch label on both surfaces.No backend or visibility-storage change.
How did you verify your code works?
Compared the Settings Models header with the Manage models dialog and ran
bun typecheckinpackages/app. I have not run the desktop app locally in this checkout.Screenshots / recordings
Checklist