imkingjh999/dsh-adaptive-effort ↗★ 0
dsh-adaptive-effort
DSH plugin: auto-select reasoning_effort (low/high/max) per user turn via a MiniMax complexity scorer with heuristic fallback, an effort-router-style token ledger, and a per-reply metadata label (model · effort · tokens · steps, click to jump back). Manual picker in the model popup; scorer triggers ONLY on Auto. GLM-5.3 safe: never picks off/medium, clamps manual off on forced-thinking models.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:imkingjh999/dsh-adaptive-effort说明文档
阅读完整 README ↗配置(cordis.yml 或设置命名空间 adaptive-effort)
| 键 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关 |
level | auto | 插件级档位:auto(跟随模型选择器,双 Auto 才打分)或强制档 off/low/high/max |
mode | minimax | minimax / heuristic |
minimaxApiKey | '' | 为空时读环境变量 MINIMAX_API_KEY,再为空回退启发式 |
minimaxBaseUrl | https://api.minimaxi.com/v1 | 国际站;国内换成 https://api.minimax.chat/v1 |
minimaxModel | MiniMax-M3 | 打分模型 |
scoreTimeoutMs | 4000 | 打分超时,超时回退启发式 |
allowToolUpgrade | true | 允许重负载工具参数把档位升到 max |
clampForcedThinkingOff | true | GLM-5.3 等强制思考模型上把手动 off 钳制为 low |
ledgerDir | '' | 账本目录;空 = ~/.dsh/adaptive-effort |