imkingjh999/dsh-adaptive-effort0

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.

包名
dsh-adaptive-effort
版本
0.3.0
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:imkingjh999/dsh-adaptive-effort

配置(cordis.yml 或设置命名空间 adaptive-effort

默认说明
enabledtrue总开关
levelauto插件级档位:auto(跟随模型选择器,双 Auto 才打分)或强制档 off/low/high/max
modeminimaxminimax / heuristic
minimaxApiKey''为空时读环境变量 MINIMAX_API_KEY,再为空回退启发式
minimaxBaseUrlhttps://api.minimaxi.com/v1国际站;国内换成 https://api.minimax.chat/v1
minimaxModelMiniMax-M3打分模型
scoreTimeoutMs4000打分超时,超时回退启发式
allowToolUpgradetrue允许重负载工具参数把档位升到 max
clampForcedThinkingOfftrueGLM-5.3 等强制思考模型上把手动 off 钳制为 low
ledgerDir''账本目录;空 = ~/.dsh/adaptive-effort