Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem Statement
Currently, managing custom providers (such as local inference engines like LM Studio or Jan AI) through the OpenCode UI is a destructive or highly technical process:
No Edit Functionality: Once a custom provider is connected via the UI, the only available option is a Disconnect button. There is no way to modify existing fields like the baseURL or apiKey without fully disconnecting and re-entering all settings from scratch.
No UI Model Management: Adding, removing, or adjusting configuration details (such as context and output limits) for specific models under a custom provider forces users to manually locate and edit the underlying opencode.json configuration file.
While a "configuration-first" approach is excellent for project version control, a basic graphical CRUD (Create, Read, Update, Delete) interface for connected providers and models would significantly improve the user experience, especially for users frequently swapping local models or modifying network ports.
💡 Proposed Solution
Introduce an "Edit" action alongside the existing "Disconnect" button in the Providers settings UI, and add a dynamic schema viewer/editor for registered models.
- Provider Edit Modal
Change the single Disconnect button to an actions menu or place an Edit button next to it.
Clicking Edit should open the initial connection modal with all existing fields (Provider ID, Display Name, Base URL, etc.) pre-filled with the current configuration data.
- Inline Model Manager
Under each connected custom provider in the UI, expose a list of currently registered models.
Provide an "Add Model" button that opens a simple form to define:
Model ID / Name
Context Window Limit (to prevent the Context Limit 0 / empty usage bar issue)
Output Limit
Modalities (Text, Image, etc.)
Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem Statement
Currently, managing custom providers (such as local inference engines like LM Studio or Jan AI) through the OpenCode UI is a destructive or highly technical process:
No Edit Functionality: Once a custom provider is connected via the UI, the only available option is a Disconnect button. There is no way to modify existing fields like the baseURL or apiKey without fully disconnecting and re-entering all settings from scratch.
No UI Model Management: Adding, removing, or adjusting configuration details (such as context and output limits) for specific models under a custom provider forces users to manually locate and edit the underlying opencode.json configuration file.
While a "configuration-first" approach is excellent for project version control, a basic graphical CRUD (Create, Read, Update, Delete) interface for connected providers and models would significantly improve the user experience, especially for users frequently swapping local models or modifying network ports.
💡 Proposed Solution
Introduce an "Edit" action alongside the existing "Disconnect" button in the Providers settings UI, and add a dynamic schema viewer/editor for registered models.
Change the single Disconnect button to an actions menu or place an Edit button next to it.
Clicking Edit should open the initial connection modal with all existing fields (Provider ID, Display Name, Base URL, etc.) pre-filled with the current configuration data.
Under each connected custom provider in the UI, expose a list of currently registered models.
Provide an "Add Model" button that opens a simple form to define:
Model ID / Name
Context Window Limit (to prevent the Context Limit 0 / empty usage bar issue)
Output Limit
Modalities (Text, Image, etc.)