hytime/dsh-thinking-effort ↗★ 60
@hytime/dsh-thinking-effort
为 DSH 的 pi-ai 第三方模型补充可配置的思考强度档位,并设置子 agent 默认思考强度。
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hytime/dsh-thinking-effortREADME
Read the full README ↗Gateway compatibility configuration
The provider compat block is the global default for every model under that provider. The Settings page groups the 18 fields into four sections that are collapsed by default. Configure provider defaults with the official DSH YAML shape:
providers:
qwen-gateway:
compat:
supportsDeveloperRole: false
maxTokensField: max_tokens
models:
- id: qwen-plus
- id: qwen-thinking
compat:
maxTokensField: max_completion_tokens
Field-by-field, each value resolves independently in this order: model → provider → base/catalog → protocol. URL/hostname detection is not used as a compat source. A model value overrides only that field. Auto removes the current-layer value, restores provider inheritance when applicable, and lets the next value in the chain take effect. Provider defaults apply to every model on the route; a model edit changes only the current model. For a route/provider, non-empty models[] and non-empty modelOverrides are mutually exclusive; the official schema rejects this invalid configuration, and the plugin fails closed for malformed data.
The provider area in Settings edits defaults for all models. Both catalog models and custom YAML models[] entries expose a single-model compat editor: catalog models write only the target fields with field-level set/unset operations under modelOverrides..compat, while models[] models write one complete providers..models array set while preserving other entries and fields. A model edit does not change other models.
These compat values are control plane configuration. They do not implement or replace the gateway transport; an external transport remains responsible for network requests.