dsh-effort-slider
推理强度滑杆:注入对话输入区的每会话 effort 滑杆,按模型声明的档位显示,并记住各模型上次选择
croissantts
@croissantts
⬇ 1
★ 1
main
安装
dsh plugin --profile web add github:croissantts/dsh-effort-slider
需要可复现安装时,可在仓库后追加 #commit 固定提交。
推理强度滑杆:注入对话输入区的每会话 effort 滑杆,按模型声明的档位显示,并记住各模型上次选择
该插件未提供要点说明,请参考仓库 README。
deepseek-harnessdsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/croissantts/dsh-effort-slider |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 1 |
| 最近推送 | 2026-09-16 |
| 收录日期 | 2026-09-19 |
| 分类 | 界面增强 |
事实信息来自公开插件目录快照(2026-10-03),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-reasoning-effort-slider
English | [中文](README.zh.md)
A DeepSeek Harness client (web) bundle that injects a **reasoning-effort slider** (Codex GPT-6 style) into the conversation input dock, shown when the selected model declares reasoning effort levels.
- **Per-session**: sliding only changes the current session's effort (calls `modelDirectories.directoryFor(session).select({provider,model,reasoningEffort})`); other sessions are unaffected.
- Levels ordered along the harness seven-step off/minimal/low/medium/high/xhigh/max; only the levels the selected model supports are shown.
- Models with one or zero levels (e.g. always-thinking kimi-k3) hide the slider.
- Zero build tooling: `lib/client.js` is written directly in `window.__ModuleLoader__.load({id, factory})` form using `react/jsx-runtime` jsx, for easy static audit.
## Keeping the effort across model switches
DSH's own model picker only carries `reasoningEffort` over when you re-pick the **same** model; switching models falls back to the target model's `defaultEffort`, which is `undefined` when the route configures no `reasoning`. That `undefined` is not "the default level": under the `qwen` dialect it is equivalent to **`enable_thinking: false`**, so thinking is silently turned off (verified by capturing the real request body with a mock fetch).
This plugin therefore does two things:
1. **Remembers per model**: the last level you explicitly picked for each model (`provider/model` → level).
2. **Carries it over and writes it back** on a model switch, clamping to the target model's ladder:
- exact match → keep it;
- otherwise the nearest level **at or below** (previous `max`, target tops out at `xhigh` → use `xhigh`);
- nothing lower → the target's lowest level.
Since the slider never shows `off`, this rule cannot silently demote "thinking" to "not thinking".
If you have **never** picked a level (fresh state), the plugin writes nothing and shows a grey "默认" instead, honestly reflecting "unset".
## Install
```bash
dsh plugin --profile web add dsh-reasoning-effort-slider
```
## Relation to the Bailian plugin
General-purpose (any model declaring reasoningEfforts); can also be an optional dependency of `dsh-bailian-models`.
## License
MIT
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。