deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
Choose reasoning effort for additional models in DeepSeek Harness.
中文 · English
dsh-open-efforts adds official per-model reasoningEfforts metadata to models explicitly configured through @deepseek-ai/dsh-llm-pi-ai. DeepSeek Harness displays the native Effort control in its existing model menu and submits each selection through the standard request path.

Figure 1: Models connected through Chat Completions, Responses, or Messages can use the same reasoning-effort selector.

Figure 2: The menu provides Off and five standard levels. Each model and provider defines the levels it actually accepts.
The plugin exposes these six choices:
| UI label | reasoningEfforts key |
Wire value |
|---|---|---|
| Off | off |
none |
| Low | low |
low |
| Mid | medium |
medium |
| High | high |
high |
| XHigh | xhigh |
xhigh |
| Max | max |
max |
The protocol field uses the official id medium, while the UI displays Mid. The selectable range consists of the six rows above; minimal sits outside that range.
Unofficial community plugin: This independent project is developed and maintained by community contributors.
The plugin handles models explicitly declared in the llm-pi-ai settings section:
providers.<route>.models[]providers.<route>.modelOverrides.<modelId>Catalog-only routes retain their existing configuration. The official deepseek-official adapter also retains its existing configuration.
DSH supports three protocols for custom routes:
openai-completionsopenai-responsesanthropic-messagesFor openai-completions, the plugin writes the official compatibility switch:
compat:
supportsReasoningEffort: true
Responses and Messages use their protocol-native reasoning fields directly.
The UI always displays all six choices. Each model and provider determines which values it accepts. A model may accept only High and Max, or it may reject every effort value. Provider compatibility errors surface through the standard DSH request path.
Off uses the supported off: none wire mapping. Generic Chat Completions routes explicitly send reasoning_effort: "none". Responses and Messages translate the same logical choice into their protocol-native disable formats.
Requirements:
^22.19.0 or >=24.0.00.1.0-rc.7 or a newer release with per-model reasoningEfforts@deepseek-ai/dsh-llm-pi-ai enabledRun these commands from the repository directory:
npm run verify:release
dsh plugin --profile web add .
dsh plugin resolves the local path from the current working directory and adds the package's dsh.bundle declaration to the selected profile.
Verify the profile configuration:
dsh --profile web --dump-config
The output should contain open-efforts and dsh-open-efforts. Restart the matching DSH Web process and refresh the page.
For another profile, replace web with its name. Install the plugin separately for each profile.
Once a custom model appears in llm-pi-ai under models or modelOverrides:
Off / Low / Mid / High / XHigh / Max.The plugin watches model-topology and settings updates. Reopen the model menu after adding or editing a model to load the latest metadata.
A Chat Completions model receives this capability configuration:
models:
- id: your-model
reasoningEfforts:
off: none
low: low
medium: medium
high: high
xhigh: xhigh
max: max
compat:
supportsReasoningEffort: true
Model names, context windows, output limits, existing compat.thinkingFormat values, and unrelated fields remain intact. The plugin replaces each models array as a whole to follow DSH settings path-mutation rules for arrays.
llm-pi-ai model-capability settings and resolveModel metadata.Remove the package from the profile:
dsh plugin --profile web remove dsh-open-efforts
Then inspect the profile and restart it:
dsh --profile web --dump-config
Uninstalling restores the runtime resolveModel method. Official declarations already stored in the settings backend remain available. For a full rollback, remove these fields from affected model entries:
reasoningEffortscompat.supportsReasoningEffortKeep all other compat fields.
2026-08-180.1.0-rc.799f6f02fecdb7dff40c3fbc9470f5907c29f74ca^22.19.0 or >=24.0.0The supported baseline starts with DeepSeek Harness 0.1.0-rc.7 and relies on per-model reasoningEfforts, reasoningEffort call configuration, and the native Model/Effort UI.
The package uses TypeScript source, keeps zero runtime npm dependencies, and compiles ESM plus declarations into lib/:
npm run lint
npm test
npm run build
npm run verify:package
npm pack --dry-run
MIT. Report security issues through the private channel described in SECURITY.md. Credentials and pending vulnerabilities belong in the same private channel.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。