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.

AI 分析

核心用途是自动平衡推理效果与 Token 消耗。适合希望 AI 自动根据问题难易度调整思考深度的用户。可选配置 MiniMax 密钥。

パッケージ
dsh-adaptive-effort
バージョン
0.3.0
ライセンス
MIT
最終更新
2026/08/26

インストール

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

ドキュメント

README 全文を読む ↗

配置(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