dsh-provider-toggle

在「设置 → 模型」每个提供商行的「编辑」左边加一个一键开关:关掉哪个提供商,它就从主界面模型选择栏里消失,打开即恢复。做法是包一层模型目录调用,因此只影响目录与选择器,不动路由、密钥与 provider 配置;已经选着该模型的旧会话照常工作。

插件介绍

在「设置 → 模型」每个提供商行的「编辑」左边加一个一键开关:关掉哪个提供商,它就从主界面模型选择栏里消失,打开即恢复。做法是包一层模型目录调用,因此只影响目录与选择器,不动路由、密钥与 provider 配置;已经选着该模型的旧会话照常工作。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:DeepseekDays/dsh-provider-toggle

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.

版本兼容情况

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