跳过主要内容
Q

dsh-effort-control

q6665/dsh-effort-control

给 Agent 一个 set_reasoning_effort 工具,让它读取并调整自己会话的推理档位(off/low/high/max),也可写成全局默认。

安装

dsh plugin --profile web add github:q6665/dsh-effort-control

README

dsh-effort-control

Gives the agent a set_reasoning_effort tool so it can read and change the reasoning effort of its own session (off / low / high / max) without you clicking the model selector.

Usage

set_reasoning_effort {}                                  # read the current effort
set_reasoning_effort { level: "low" }                    # lower this session
set_reasoning_effort { level: "max" }                    # raise this session
set_reasoning_effort { level: "high", scope: "default" } # write the global default

Install

dsh plugin --profile desktop add dsh-effort-control

Notes

  • The change is a durable session event; the next model request of the session uses the new effort.
  • scope: "default" also affects new sessions and sessions without a recorded choice.
  • It only changes effort for the current model (the provider/model route stays the same); it never switches models.

相关插件