【插件】dsh-thinking-effort:第三方(pi-ai)模型也能设置思考强度——默认档位自动补齐 + 设置页自定义 #1817
hytime
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
痛点 / Problem
使用 DSH 接第三方模型(
llm-pi-ai手工声明的 OpenAI 兼容网关 / 自定义提供方)时,composer 的模型选择器里没有「推理等级」入口,无法设置思考强度——只有官方 DeepSeek 模型有。原因:pi-ai 适配器对手工声明模型默认不暴露reasoningEfforts,需要每个模型声明档位,而 UI 没有入口,只能手写settings.yaml。插件 / Plugin
dsh-thinking-effort(MIT,双面 Cordis 插件)解决这个问题:
high填ultra,选中 High 时网关收到ultra),支持一键应用到全部 / 恢复默认。安装 / Install
仓库含 AI 可一键执行的安装文档(
INSTALL.md):确定 profile → 安装 → 授权 → 生效 → 验证 → 排查,每步带校验点。说明 / Notes
llm-pi-ai适配器 schema 固定为 7 个标准档位(z.union(THINKING_LEVELS)),插件无法增加第 8 个选项名;但每个档位发送给网关的值完全自由。English summary: dsh-thinking-effort gives third-party (hand-declared
llm-pi-ai) models a proper "reasoning effort" picker: the host half auto-declares default levels (Off/High/Max) for any model missing them, and the browser half adds a Settings → 思考强度档位 page where you can pick levels per model and set arbitrary wire values (e.g.ultra). Install withdsh plugin --profile <profile> add github:hytime/dsh-thinking-effort. MIT, zero-build, AI-friendlyINSTALL.mdincluded.All reactions