dsh-reasoning-adapter

为自定义路由或中转站上手动添加的模型提供按厂商匹配的推理等级选择:根据模型 id、显示名或接口域名识别 Claude、GPT、DeepSeek、GLM、Kimi、Qwen、Gemini、Grok、豆包或 MiMo,只填入该厂商接受的档位,并补上对应请求格式所需的 pi-ai compat 字段,再写回 profile 配置,让「设置 → 模型」里的推理开关自动打开。你手动改过或关掉的模型不会被改动,可在模型设置页的卡片上一键交回插件。

插件介绍

为自定义路由或中转站上手动添加的模型提供按厂商匹配的推理等级选择:根据模型 id、显示名或接口域名识别 Claude、GPT、DeepSeek、GLM、Kimi、Qwen、Gemini、Grok、豆包或 MiMo,只填入该厂商接受的档位,并补上对应请求格式所需的 pi-ai compat 字段,再写回 profile 配置,让「设置 → 模型」里的推理开关自动打开。你手动改过或关掉的模型不会被改动,可在模型设置页的卡片上一键交回插件。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Hatiaa/dsh-reasoning-adapter

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.

版本兼容情况

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