Introduction¶
DeepSeek Harness (DSH) extends model providers through plugins rather than modifying core configuration. If you want to directly use AMD Radeon Cloud’s Public Free Model APIs in the DSH model selector, and select “reasoning effort” (thinking tier) in the UI just like other providers, hand-writing a profile or developing a custom adapter is costly.
Below we introduce the community plugin @zhz8888/dsh-radeon-cloud-patcher: it declares a radeon-cloud provider via a patch layer, delegating transport, thinking-field parsing, multi-turn round-trips, and usage metering to DSH’s built-in dsh-llm-pi-ai, without modifying the DSH core, and by default it does not write to your profile.
What This Is¶
- Package name:
@zhz8888/dsh-radeon-cloud-patcher(npm; plugin list display name Radeon Cloud, shown as “Radeon Cloud provider” in the Chinese UI) - Maintainer: zhz8888
- Category: Model inference
- License: MIT (current package version 1.3.0)
- Directory page: skillhub.cn plugin entry
- Source code: GitHub
The plugin targets DSH version >=0.2.0-rc.1 (declared consistently in three places, no upper bound). Unlike “permanently merging a provider definition into the profile”: under the normal installation path, uninstalling the plugin removes that provider, leaving no copy in the profile; the corresponding row in the settings page also has no “Delete” button—to remove it you can only uninstall the plugin.
Core Features¶
-
Radeon Cloud model selector integration
After installation and restart, Radeon-side models appear in the model selector; after successful credential configuration, the right side of that row in the settings page shows a green dot (hover text “API key configured”). -
Per-model reasoning tiers (reasoning effort)
After selecting a model below the input box, you can choose “reasoning effort” per model. Tiers are maintained by the provider definitions and measured tables within the plugin (the API’sGET /v1/modelsdoes not return tier info). For example, DeepSeek-V4.1-Flash supportsoff/minimal/low/medium/high/xhigh/max; GLM-5.3-Flash and MiniCPM-V-4.7-1B do not acceptnone;MiniCPM5-2Bis a non-reasoning model and does not show the tier dropdown. Selecting a tier the server does not accept results in a hard failure (400/422), not a silent downgrade. -
Multimodality
Some models support image input (e.g., DeepSeek-V4.1-Flash, MiMo-V2.6-Flash, Qwen3.8-27B, etc.); text-only models are listed separately in the README. -
Ownership and conflict detection
The plugin requires that provider idradeon-cloudbe exclusively owned by the plugin. If the profile contains an inconsistent declaration with the same id, startup will fail and point out the differences; it will not silently take over. When you want to coexist with your own provider, use the merge script provided in the repository (see README “Ownership and Removal”). -
Client-side patch
The bundledclient/client.jsuses CSS to hide the “Customize” label on this provider’s settings row (a hardcoded display in DSH for non-built-in catalog providers); it may silently break after DSH UI changes, without affecting invocation functionality.
Installation and Activation¶
Prerequisites: DSH is installed, and you hold a Radeon Cloud API key (format rc-…). This package tarball has no install-time build scripts, so generally you do not need to handle pnpm’s allowBuilds authorization.
Command line (replace <profile> with your profile name):
dsh plugin --profile <profile> add @zhz8888/dsh-radeon-cloud-patcher
When switching registries or specifying versions, the parameters are forwarded verbatim to pnpm within the profile directory, e.g.:
dsh plugin --profile <profile> add @zhz8888/dsh-radeon-cloud-patcher --registry https://registry.npmmirror.com
dsh plugin --profile <profile> add @zhz8888/dsh-radeon-cloud-patcher@<version>
Desktop version: Add @zhz8888/dsh-radeon-cloud-patcher on the left-side “Plugins” page. The desktop profile is exclusively managed by the app; running dsh plugin --profile desktop … in a terminal will be rejected; please use the in-app plugins page, or run it from the app’s “Open DSH Terminal”.
Activation steps (README quick start):
- Install the plugin (see above).
- Restart DSH—the definition lives in the patch-layer config and does not take effect while running.
- Configure the key: “Account menu → Settings → Models” → Radeon Cloud → “Edit” → paste the key → “Save”. The key is written to this machine’s
~/.dsh/.credentials.yamlasRADEON_CLOUD_API_KEY, and is not echoed in the UI.
Uninstall (also removes that provider):
dsh plugin --profile <profile> remove @zhz8888/dsh-radeon-cloud-patcher
Upgrade:
dsh plugin --profile <profile> add @zhz8888/dsh-radeon-cloud-patcher@latest
Restart is also required after upgrading. If you previously used pnpm install:profile to merge the definition into the profile, that copy may override the plugin layer’s new definition, which needs to be handled per the README.
Verify the effective configuration (except for the desktop profile):
dsh --profile <profile> --dump-config
Typical Usage¶
1. Configure the API Key¶
Keys are obtained from the Radeon Cloud documentation; the plugin covers the Public Free Model APIs shared endpoint.
- Settings page (recommended): See step 3 of the installation above.
- Environment variable (not persisted, suitable for temporary or CI use): the plugin reads
RADEON_CLOUD_API_KEYat runtime:
RADEON_CLOUD_API_KEY=rc-your-key dsh --profile <profile>
The credential lookup order is: process environment → credential store → .env → $DSH_HOME/.env, with environment variables taking highest priority.
The repository’s
scripts/use variables likeRADEON_API_KEY, which do not interact with the plugin’s runtime.
2. Select Model and Reasoning Tier¶
In the model selector, pick a Radeon model, then choose “reasoning effort”. Qwen series disable thinking with none (shown as off in the UI); when no tier is passed, Qwen may still think (upstream behavior). Do not infer tier support solely from similar model names (e.g., the two MiniCPM-V models have different tier tables).
3. Image Input¶
On vision-capable models, attach images following DSH’s normal conventions; do not send images to text-only models.
Use Cases and Notes¶
Who it’s for
- Already using DSH
0.2.x(>=0.2.0-rc.1), wanting to integrate Radeon Cloud’s free shared endpoint with zero profile changes. - Need to explicitly control reasoning effort in conversations, and accept the ops model where “tier tables are maintained via measured testing, and model delistings may cause the tables to become stale”.
Please be aware before use
- The plugin runs with the current DSH process permissions; before installing, review the GitHub source and MIT license, and assess the trust boundary yourself.
- Thinking and the answer share the
max_tokensbudget: insufficient budget may result in empty answers; the config’sdefaultMaxTokensis already 32768, but if the issue persists, lower the tier or temporarily setoff. stopis unavailable: the gateway discards it, causing a loud failure on the DSH side (UNSUPPORTED_OPTION).- Some models do not support the
developerrole; the plugin already falls back tosystem. - Only Public Free Model APIs; dedicated endpoints are not within this project’s scope.
- The community directory skillhub.cn has no official affiliation with DeepSeek / High-Flyer (幻方); the DSH ecosystem is an independent extension approach of “everything is a plugin”.
Conclusion¶
@zhz8888/dsh-radeon-cloud-patcher hooks AMD Radeon Cloud into DSH as a patch provider: install, restart, and fill in the rc-… key to select models and reasoning tiers, with the underlying layer still going through dsh-llm-pi-ai. Details, the model table (collected 2026-10-16), limitations, and profile merge commands are in the GitHub README; the installation entry can also be found on the plugin directory page.