HaoyueQin/dsh-better-reasoning-effort ↗★ 23
dsh-better-reasoning-effort
Third-party provider reasoning-effort AND input-modality settings for DeepSeek Harness: thinking levels and image-input support declared per model, auto-adapted from a model knowledge base + wire-protocol inference, edited right inside the official Models page card.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HaoyueQin/dsh-better-reasoning-effort说明文档
阅读完整 README ↗Usage
- Configure a third-party provider (API key etc.) on the official Models page.
- Expand a model row: the editor block sits under the official capacity fields.
- Check levels (off / minimal / low / medium / high / xhigh / max) and fill the wire values (e.g. give
highthe spellingultra, and the gateway receivesultrawhen you pick High in the composer); - Toggle Image input under Input modalities to declare what the model accepts (unchecked with no declaration = inherit the provider default, usually text-only);
- Click Auto-adapt to fill recommended levels and modalities from the knowledge base / protocol / endpoint listing — reference capacities show up as read-only hints you can copy into the official fields yourself;
- Click Apply to write the setting.
- Check levels (off / minimal / low / medium / high / xhigh / max) and fill the wire values (e.g. give
- On a compatible protocol, the Endpoint compatibility section appears at the bottom — set the thinking budget field / vLLM priority on
openai-completions, andmax_output_tokenshandling onopenai-responses. - All levels off + Apply = unset the declaration; only
offchecked + Apply = disable reasoning (false); Clear declaration on the modality row + Apply = back to inheriting the provider default.
Declared models are immediately selectable for reasoning effort in the composer's model picker, and image-declared models accept attachments end to end.
Configuration
The host half accepts optional configuration on its profile row (the values below are the defaults):
- insert:
- id: dsh-better-reasoning-effort
name: dsh-better-reasoning-effort
config:
# Auto-fill undeclared models on boot and after settings updates.
autofill: true
# Whether the auto-fill above also fills input-modality declarations.
modalityAutofill: true
# Upstream /models probe fetch timeout, in milliseconds.
probeTimeoutMs: 15000
# Boot-fill retry backoff schedule; [] means "try exactly once".
bootRetryDelaysMs: [1000, 2000, 4000, 8000, 16000, 30000]
# Map effort-less calls on forced-thinking ladders to the vendor default.
defaultGuard: true
Set autofill: false to disable the silent auto-fill entirely — the browser-side Auto-adapt button keeps working.