Introduction¶
The plugin ecosystem of DeepSeek Harness (DSH) follows the principle of “Everything is a plugin”. Here it is necessary to distinguish: the community plugin directory is an independent site, with no official affiliation to DeepSeek or High-Flyer, nor is it an official app store.
For developers using custom providers, common issues include: the endpoint requiring a specific User-Agent or extra HTTP headers; whether the model accepts images; how reasoning levels are exposed; and how to handle compatibility when an OpenAI-compatible endpoint does not accept the developer role.
Below is an introduction to dsh-custom-provider-settings. It is maintained by supersealwqas, is MIT licensed, is loaded via the DSH plugin system, and does not modify Harness source files.
What is it¶
dsh-custom-provider-settings is a WebUI plugin that adds global model request headers to DeepSeek Harness and extends custom provider per-provider headers, image input declarations, reasoning level configuration, and DeepSeek system-role compatibility.
Its core boundaries are:
- Global headers apply to all channels and models, including official DeepSeek, built-in third-party, and custom providers.
- Per-provider headers, model capabilities, and compatibility controls only apply to providers tagged with
Custom.
Core Capabilities¶
Global Request Headers¶
- Configure global
User-Agentand extra headers in the WebUI for every model request. - Clearing global headers restores Harness’s original request header behavior.
- Both global and per-provider
User-Agentfields provide common presets while retaining free input.
Custom Provider Request Headers¶
- Configure
User-Agentand extra HTTP request headers for providers tagged withCustom. - In fields with the same name, matching local values take precedence over global values.
- Both normal model requests and
Fetch available modelsuse these request headers. Fetch available modelsuses the header values filled in the current form, including unsaved values.
Model Input and Reasoning Configuration¶
- Declare each custom model as text-only or text-and-image capable.
- Configure the reasoning levels exposed by each model and map each level to the value sent to its API.
- Set provider-level default reasoning level.
- Configure the reasoning parameter format for
openai-completionsproviders.
System-Role Compatibility¶
- For compatible custom OpenAI providers, when the endpoint rejects
developermessages, manage DSH’s nativecompat.supportsDeveloperRoleswitch. - This checkbox wraps the WebUI layer of the DSH native
pi-aicompatibility setting, without intercepting or rewriting JSON request bodies.
Installation and Activation¶
Prerequisites¶
- Node.js
^22.19.0or>=24.0.0; Node.js 24 LTS is recommended. - DeepSeek Harness
0.1.1-rc.2or a compatible version, with thewebprofile and nativesupportsDeveloperRolesupport. - Stop the running WebUI before installing, upgrading, or removing a plugin; restart the WebUI after the command completes.
- The plugin is loaded via the DSH plugin system, and execution permissions depend on the process launching DSH. Please check the source code, MIT license, and your own environment before installing.
Installation Command¶
The following command installs the v0.5.0 release TGZ. This URL becomes available after the reviewed version is published as a GitHub Release.
npx --yes -p @deepseek-ai/dsh dsh plugin --profile web add https://github.com/supersealwqas/dsh-custom-provider-settings/releases/download/v0.5.0/dsh-custom-provider-settings-0.5.0.tgz
After the command completes, restart the WebUI for the plugin to take effect.
Typical Usage¶
- Open
Settings > Models. - In the
Global model request headersarea at the top of the model list, enterUser-Agentor other headers; leaving it empty preserves Harness defaults. - Edit a provider already containing models with the
Customtag, or selectAdd provider > Add a custom providerand input its models. - Configure the provider’s headers in the inserted per-provider
Request headersarea; matching local values in fields with the same name take precedence over global values. - For compatible custom OpenAI providers, if the endpoint rejects the
developerrole, enableUse the system role. - Under
Model capabilities, select the input and reasoning capabilities for each model; selectText and images onlyonly if both the API and the model support image input. - Use the original
ApplyorCreate providerbutton. - Create a new session and select the model; global headers will be applied automatically.
User-Agent Presets¶
The User-Agent fields for both global and per-provider configurations include the following presets:
claude-cli/2.1.161 (external, cli)
claude-cli/2.1.161
claude-code/1.0.0
claude-code/0.1.0
Kilo-Code/1.0
Fields still allow manual input of other User-Agent strings.
Usage Notes¶
- Global headers affect all channels and models; confirm before configuring that this will not change the behavior of official DeepSeek or built-in third-party providers.
- Per-provider settings only apply to providers tagged with
Custom. Text and images onlyis merely a declaration of model capability to Harness; it cannot add vision support to APIs or models that do not support it.- System-role settings target the DSH native compatibility setting, not request body rewriting.
- Global headers and provider extension fields saved in
settings.yamlwill not be automatically deleted. - Whether the
v0.5.0TGZ command is immediately usable depends on whether that version has been published as a GitHub Release.
Links¶
GitHub:
https://github.com/supersealwqas/dsh-custom-provider-settings
Plugin directory page (not independently verified):
https://www.skillhub.cn/plugins/supersealwqas/dsh-custom-provider-settings