DeepSeek Harness Settings Belong to Specific Profiles and Plugins
Read DSH's real YAML provider patches, reasoning and output limits, third-party models, compaction, permissions and MCP. Select a setting to see its explanation.
By West Mao and Alex GeorgeUpdated Official sources reviewed One config · select a setting to read its explanation
TL;DR
DeepSeek Harness configuration depends on the active profile and the plugin that owns each setting. Merge provider changes into the relevant YAML patch while preserving existing entries; keep credentials and Agent preset fragments in their supported locations. Check the session's selected model and plugin startup after changes. The guide documents a reviewed revision and does not establish live gateway or billing compatibility.
$DSH_HOME/profiles/web/cordis.patch.yml
One continuous config. Click a line for its explanation. Commented lines show optional settings, alternatives or separate setup; the copy button includes active settings only.
YAML CONFIGSections are marked inside the codeSELECTED SETTINGOnly what you click is explained here
1
2# ── Official connection ──
3
Official connection
Target the installed plugin entry
llm-deepseek.id
Identifies the Cordis entry this patch changes.
In the main config$DSH_HOME/profiles/web/cordis.patch.yml
In this example
"llm-deepseek" is the example value; it is not a universal recommendation.
If you leave it unset
Omission leaves this choice to the installed version, provider and higher-priority configuration.
When to change it
Keep llm-deepseek for the shipped official API-key route.
What changes / what to watch
This adapter serves deepseek-official. A config override replaces the entry's entire config; preserve your existing fields when merging.
Check that it worked
Reload the intended file or start a fresh session. Inspect the active model, tools or setting, then check one small task before relying on the change.
52# Active composition → permission-presets → config
53
54# presets:
55# workspace-write:
56
57
58
59
60
61# $DSH_HOME/profiles/web/cordis.patch.yml
62# - insert:
63
64
65# config:
66
67
68
69
70
71
72
73
74
75
Find an explained key & its source
SETTINGS AND OFFICIAL SOURCES
Explained settings index
This index covers the settings explained in this handbook. Follow the official sources for the complete schema, additional plugins and platform-specific options. The index is not a file to paste, and not every key is available in every client or scope.
39 of 39 documented entries · showing 30
llm-deepseek.idYAML
Official connection · $DSH_HOME/profiles/web/cordis.patch.yml · Explained example
DeepSeek Harness (dsh), official source revision 5badb15009ae. The standard web profile uses $DSH_HOME/profiles/web/cordis.patch.yml (DSH_HOME normally ~/.dsh). Plugin configs and Agent preset internals have distinct owners; inner fragments are marked explicitly.
Start the intended profile and use Settings → Models for the official DeepSeek API-key route or an included provider. Select the model in the picker; an existing session can retain its recorded model.
For the web profile, edit its cordis.patch.yml. A config override replaces an entire entry config, so preserve all existing provider and plugin fields when merging examples.
Agent preset settings such as compaction live inside that preset's plugin composition. Use its editor to find the owning plugin; do not paste those inner fragments at the profile root.
Credentials are separate from the visible patch. Use the supported settings/sign-in flow; never publish .credentials.yaml or real token values.
OFFICIAL AND THIRD-PARTY ACCESS
DSH API and model provider setup
Use one model-provider route per session. MCP connects tools and data; it does not replace model authentication.
Official DeepSeek API key
llm-deepseek entry, serving deepseek-official over Messages.
Authentication
DEEPSEEK_API_KEY credential reference.
Verify
Choose a served model and inspect the selected provider.
Check the installed revision and plugin IDs before applying a patch.
Validate YAML and inspect plugin-load errors; unknown fields can reject configuration.
Keep other providers when editing the llm-pi-ai config and confirm the session's selected route.
Check compaction and permission changes inside the intended Agent preset.
Documentation review and syntax checks do not constitute a live gateway or billing test.
Documentation-based examples. No live model calls or measured cost savings are claimed.
COMMON QUESTIONS
DSH configuration FAQ
Is DSH configured with settings.json?
The provider examples here are Cordis YAML patches. Credentials, per-session model choice and Agent preset plugin configs are separate state; a generic settings.json would not represent those layers.
Is DSH's pi-ai adapter the same config as Pi?
No. They can share adapter technology while exposing different schemas. DSH uses providers under a plugin config, baseURL, apiKeyEnv and reasoningEfforts; Pi's models.json uses its own fields.
Official sources
Checked 2026-10-08. Follow the documentation for your installed version and selected model.