Skip to content

[FEATURE]: Feature Request: Add GUI Options to Edit Custom Providers and Manage Model Lists #33704

Description

@akierum

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request 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.

  1. 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.

  1. 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.)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions