dsh-no-account-models
Manifest validDisables the built-in llm-deepseek-account route so the DeepSeek account model group no longer appears in the picker.
dsh-no-account-models
把「DeepSeek 账号」这一组模型从 DeepSeek Harness 的模型选择器里拿掉。
为什么
登录 DeepSeek 账号之后,模型选择器里会多出一组「DeepSeek 账号」(deepseek-flash、deepseek-v4-pro 等)。如果你日常只用自己配的 provider(Qoder、Kiro、API Key 等),这组模型既是噪音,也容易被误选 —— 它走的是账号额度。
这个插件用 DSH 自带的 patch 机制,把这条模型路由整个禁用掉,不需要改 DSH 源码。
效果
- 模型选择器里不再出现「DeepSeek 账号」整组
- 账号登录、余额、订阅照旧 —— 它们由另一个 row(
deepseek-account)提供,本插件不动 - DeepSeek API Key 路由(
deepseek-official)和第三方 provider 都不受影响
安装
从 GitHub 直接装:
dsh plugin --profile desktop add github:zhangkaiqiu/dsh-no-account-models
desktop 是桌面版的 profile 名(命令行版用 web,改成你自己的 profile)。也可以锁 tag:
dsh plugin --profile desktop add github:zhangkaiqiu/dsh-no-account-models#v0.1.0
更新用 dsh plugin --profile desktop update dsh-no-account-models(跟 main 时有效;装了 tag 的
升级要重新 add 新 tag)。本插件没有 client 半,装完重启 DSH 即生效;如果页面已经打开,刷新
一次也能看到选择器变化。
本地开发时也可以直接在 DSH 插件页安装本目录。
开关
插件页里的「隐藏 DeepSeek 账号模型」就是开关:
- 开启:
llm-deepseek-account不注册,「DeepSeek 账号」组消失 - 关闭:这一层 patch 撤销,该组恢复
实现
没有运行时逻辑,效果完全来自 cordis.patch.yml 对内置 row 的按 id 覆盖:
- id: llm-deepseek-account
disabled: true
index.js 只有一个空的 apply(),作用是让插件在列表里有一个可开关的条目。
为什么是「禁用」而不是「隐藏」:llm 服务没有任何目录过滤事件,账号路由也没有 models 白名单(写了会直接加载失败),所以官方路径只有禁用整条路由。
注意
- 已经保存了「DeepSeek 账号 / deepseek-flash」的会话,需要手动切一次模型,否则发送时会报模型不可用
- 该路由是彻底不可用,不只是从列表里隐藏
License
Comments
Loading…
Similar plugins
Routes DeepSeek models in dsh through an OpenCode Go subscription and falls back to the DeepSeek account per model when that model's allowance runs out; a plan-wide fallback covers bad credentials.
★ 0
dsh plugin --profile web add dsh-opencode-quota-routerby swyc520
DeepSeek Harness (dsh) 插件:在「设置 → 模型」里逐个勾选要显示的模型,未勾选的从模型选择器菜单中隐藏。
★ 1
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add @swyc520/dsh-plugin-model-whitelistby hongbaiqi
Persistent DSH model-account authorization UI for ChatGPT, Claude, and other llm-pi-ai login flows
★ 0
MIT
Sep 3, 2026
dsh plugin --profile web add dsh-model-account-loginby ckanner
Use your ChatGPT subscription as a model provider in DeepSeek Harness (dsh). Sign in with ChatGPT over OAuth — no API key — and the account's own models appear in the model picker.
★ 23
↓ 1.3k/wk
MIT
TypeScript
Nov 18, 2026
dsh plugin --profile web add dsh-plugin-chatgptBrings models from the Qoder app already signed in on this machine into DeepSeek Harness, with no token to configure, and shows each model rate and off-peak window on its settings card.
★ 0
dsh plugin --profile web add @eghrhegpe/dsh-connect-qoderby Townrain
Deselect-all button for the DSH Settings > Models 'fetch available models' dialog (client-only plugin)
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-fetch-models-unselect-all