zhubaohi/dsh-qwen38-compaction-fix ↗★ 0
dsh-qwen38-compaction-fix
DSH plugin: thinking-off compaction and session-title fix for local qwen3.8-27b gateways
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhubaohi/dsh-qwen38-compaction-fix说明文档
阅读完整 README ↗Configuration
All keys are optional; defaults are applied by the schema. Precedence (highest first):
qwen38-compaction-fix:section of$DSH_HOME/settings.yaml(applies live, no restart)- the
config:block of the plugin row in your profile'scordis.patch.yml - built-in defaults
Example settings.yaml:
qwen38-compaction-fix:
effort: off # "" disables the effort policy
models: [qwen3.8-27b] # exact ids; [] disables the whole policy
sampling: # wire field names, written verbatim into the body
temperature: 0.7
top_p: 0.8
top_k: 20
min_p: 0.0
presence_penalty: 1.5
repetition_penalty: 1.0
maxTokensFloor: 16384 # 0 disables the floor
titleReasoning: none # "" disables the title gate
| Key | Default | Meaning |
|---|---|---|
effort | "off" | Reasoning effort stamped onto matched calls. Preference order: configured → off → low; a model offering none of them keeps its own default (one-time warning). "" disables the effort policy. |
purposes | ["compaction"] | purpose tags of LLM calls the waterfall layer applies to. |
models | ["qwen3.8-27b"] | Exact model ids (case-sensitive) the policy applies to, checked at every layer. Empty list disables the whole policy. |
sampling.* | {} | Sampling settings written verbatim into compaction request bodies. Absent keys stay absent. |
maxTokensFloor | 16384 | Compaction bodies' wire max_tokens/max_completion_tokens are raised to at least this value (never lowered). 0 disables. |
titleReasoning | "none" | Wire reasoning_effort value written into session-title request bodies. "" disables the gate. |
A per-call explicit reasoningEffort always wins over the plugin default.