Custom OpenAI-Compatible provider fails with "Unknown or disabled provider" error on Cline Desktop (Windows)
Cline Surface
Desktop App
Cline Version
v0.0.28
Beta version
- I am using a beta version of Cline
What happened?
Added a custom OpenAI-Compatible provider via the "Add Provider" dialog with all fields filled correctly:
- Provider ID: seloratest
- Provider Name: Selora
- Base URL: https://api.selora.lol/v1
- Model Source URL: https://api.selora.lol/v1/models
- Models: gpt-6-astra
- API Key: valid key (verified working)
- Capabilities: streaming, tools, reasoning toggled on
The provider appears in the UI dropdown and can be selected alongside a model. However, when sending any message, the run immediately fails with:
The run failed: Unknown or disabled provider "seloratest".
Expected behavior: The custom provider should be recognized by the execution engine and route requests to the configured Base URL.
The built-in "OpenAI Compatible" provider works perfectly with the same Base URL and API Key, confirming the endpoint is valid. The error occurs at execution time, suggesting the provider registry used by the runtime does not include entries saved by the Add Provider dialog. This appears to be the same class of bug as #14152 (Desktop config path mismatch — settings written to one location, read from another).
Steps to reproduce
- Open Cline Desktop on Windows
- Click "Add Provider" → select OpenAI-Compatible
- Fill in Provider ID, Base URL, Model Source URL, at least one model, API Key
- Toggle capabilities (streaming, tools, reasoning)
- Save the provider
- Select the new provider + model from the bottom bar
- Send any message (e.g. "hello")
- Observe: "The run failed: Unknown or disabled provider 'seloratest'."
Provider/Model
Custom OpenAI-Compatible provider → gpt-6-astra
Diagnostics
- Built-in OpenAI Compatible provider with identical Base URL + API Key works correctly
- Provider is visible in the UI dropdown after saving
- Error occurs at execution time only
System Information
OS: Windows 11 (Version 25H2 OS Build 26200.9457)
Ryzen 5 5600H GTX 1650 4GB 16GB DDR4 3200mhz dual channel ram Laptop name : Lenovo Ideapad Gaming 3
Source: cline/cline