dsh-context-effort

对话输入区控件:显示当前模型的上下文上限、已用 token 与「系统 / 工具 / 消息」三段启发式构成;一键切换思考等级(provider 未声明等级时会把 reasoningEfforts 写进该模型配置);并可在同一面板里改写模型的 contextWindow,免去自定义 provider 的模型静默沿用适配器默认值。不发起模型调用,只读官方的 session 投影、模型目录与 config-forms 服务。

插件介绍

对话输入区控件:显示当前模型的上下文上限、已用 token 与「系统 / 工具 / 消息」三段启发式构成;一键切换思考等级(provider 未声明等级时会把 reasoningEfforts 写进该模型配置);并可在同一面板里改写模型的 contextWindow,免去自定义 provider 的模型静默沿用适配器默认值。不发起模型调用,只读官方的 session 投影、模型目录与 config-forms 服务。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:striver8/dsh-context-effort

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令