782042369/dsh-model-compat-guard ↗★ 0
dsh-model-compat-guard
DSH compatibility guard: repairs auto-compaction failures for GPT/reasoning models (raises the summary token cap and lowers reasoning effort on purpose=compaction requests), strips doomed sandbox-escalation requests, and auto-fills the required tool-call 'description' argument other models often omit
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:782042369/dsh-model-compat-guard说明文档
阅读完整 README ↗配置(可选)
~/.dsh/compat-guard.json:
{
"compactionMaxTokens": 32768,
"compactionEffort": "auto",
"compactionStripTools": false,
"compactionPurposes": ["compaction"],
"fillDescription": true,
"stripEscalation": "redundant",
"logFixes": true
}
compactionEffort:"auto"(最便宜档)/"keep"(不动)/ 具体档位 id。compactionStripTools:true 时压缩请求去掉 tools 列表(防模型压缩时调工具,代价是丢前缀 KV cache)。- cordis 插件 config 传入的同名字段优先于该文件。