openpencil
ZSeven-W
The world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:supersealwqas/dsh-custom-provider-settings
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A WebUI plugin for DeepSeek Harness that adds request headers, image-input declarations, and reasoning-level settings to user-defined custom model providers. It loads through the DSH plugin system and does not modify Harness source files.
The plugin applies only to providers carrying the Custom tag. DeepSeek official providers and built-in third-party providers retain their original configuration and request behavior.
User-Agent and additional HTTP request headers for each custom provider.openai-completions providers.The plugin inserts request-header and model-capability fields into the existing custom-provider form. The highlighted areas show User-Agent, additional headers, image input, the default reasoning level, and per-model reasoning mappings.

Enabled reasoning levels appear in the conversation composer. The example exposes Default, Off, Low, Medium, High, Xhigh, and Max, with Xhigh selected.

^22.19.0 or >=24.0.0; Node.js 24 LTS is recommended.dsh plugin invokes pnpm in the Web profile directory to manage plugins.0.1.0-rc.6 or a compatible release with the web profile.Check the environment in PowerShell:
node --version
npx --version
git --version
corepack enable
pnpm --version
If corepack enable fails because of insufficient permissions, run it once from an administrator PowerShell or follow the pnpm installation guide.
Stop the running WebUI before installing, upgrading, or removing the plugin, then restart it when the command completes.
This installs a tested, fixed version that does not change with the main branch. To install v0.4.0:
npx --yes -p @deepseek-ai/dsh dsh plugin --profile web add https://github.com/supersealwqas/dsh-custom-provider-settings/releases/download/v0.4.0/dsh-custom-provider-settings-0.4.0.tgz
Start the WebUI after installation:
npx --yes -p @deepseek-ai/dsh dsh web
The WebUI listens on http://127.0.0.1:3080 by default. If dsh is installed globally, the shorter dsh plugin ... and dsh web forms are equivalent.
This installs the current main branch and is suitable for users who want the newest changes immediately. On first use, npx downloads the official DSH NPM package and its dependencies:
npx --yes -p @deepseek-ai/dsh dsh plugin --profile web add github:supersealwqas/dsh-custom-provider-settings
Start the WebUI after installation:
npx --yes -p @deepseek-ai/dsh dsh web
Use this method when changing or debugging the plugin. Create a TGZ package in the repository and install it into the Web profile:
New-Item -ItemType Directory -Force .\dist
npm pack --pack-destination .\dist
npx --yes -p @deepseek-ai/dsh dsh plugin --profile web add .\dist\dsh-custom-provider-settings-0.4.0.tgz
npx --yes -p @deepseek-ai/dsh dsh web
The dist directory and TGZ files are ignored by .gitignore and are not uploaded to the repository.
Stop the WebUI and run the matching add command again. DSH updates the installed plugin without requiring a separate removal. For a TGZ installation, replace the version and filename in the command with the target release. Restart the WebUI afterward.
npx --yes -p @deepseek-ai/dsh dsh plugin --profile web remove dsh-custom-provider-settings
Restart the WebUI to remove the plugin controls and behavior. Provider extension fields already stored in settings.yaml are not deleted automatically.
User-Agent and any other headers required by the endpoint. Leave the fields empty to retain the Harness defaults.Fetch available models uses the request-header values currently entered in the same form, including values that have not been saved yet. This allows model discovery to work with endpoints that require a particular User-Agent or another custom header.
VISION-7392.A correct response confirms that Harness accepted the attachment and the endpoint processed it. This setting declares model capability to Harness; it cannot add vision support to an API or model that does not already provide it.
The UI writes these fields under llm-pi-ai.providers.<provider>:
headers:
User-Agent: my-client/1.0
X-Client-Name: my-client
reasoning: high
models:
- id: example-model
input: [text, image]
reasoningEfforts:
low: low
medium: medium
high: high
Header values are stored as ordinary text in settings.yaml. Keep API keys and other secrets in the Harness credential field instead of custom headers.
Clearing every custom header removes the override and restores the original Harness request-header behavior.
Confirm that the plugin is installed in the web profile and restart the WebUI after installation. The plugin mounts only on user-defined custom providers, and a provider without models has no editable model settings.
Confirm the Base URL, API key, and API protocol first, then check every User-Agent or additional header required by the endpoint. The plugin includes unsaved header values from the active form in the discovery request.
Save the provider, start a new conversation, and select the model again. Reasoning levels must be enabled for that model, and image upload requires the model to be declared as Text and images.
0.1.0-rc.6.declared: true.npm test
node --check client.js
npm pack --dry-run
The reasoning-settings client logic is adapted from JuneLearn/dsh-reasoning-settings under the MIT License.
MIT. See LICENSE. The license retains the copyright notices for this repository and its adapted upstream source.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model-provider、multimodal、openai-compatible、web-ui。