DSH Plugins
返回列表
dsh-model-search

dsh-model-search

工作流 更新于 2026.09.15

在终端中运行以下命令:

dsh plugin install Xstone1129/dsh-model-search

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install Xstone1129/dsh-model-search 安装该插件,开源地址:https://github.com/Xstone1129/dsh-model-search

插件介绍

When you hook up OpenAI-compatible gateways, self-hosted services, or relay stations in DSH, the "fetch available models" dialog dumps dozens or even hundreds of checkboxes with no search box. The model menu next to the input field flattens every provider into one long scrolling list, and the reasoning-effort control hides behind a second-level panel, forcing a two-hop detour for every tweak. dsh-model-cascade redesigns all three surfaces at once: the model menu becomes a two-pane layout (providers on the left, models on the right), with the right pane auto-grouped by family — DeepSeek, GPT, Claude, Gemini, Qwen, and so on. A top search bar filters both panes in real time, falls back to subsequence fuzzy matching, and aggregates hits spread across providers into a single cross-provider view. The reasoning-effort slider sits directly inside the menu, reads each model's actual effort tiers from the host's modelDirectories, and commits on release. The "fetch available models" dialog gains multi-keyword search, a live result count, and one-click "select / deselect results" scoped to the current filter set.

Everything runs client-side: no config files, no routing, no credential access. The plugin steps aside when a provider carries fewer than eight models, and a clean uninstall restores the original UI. DOM augmentation follows three strict rules — add-only, touch only style.display, identify by structure rather than hash class names — so model selection and submission still go through the host's own logic, and a future DSH refactor will let the plugin fail silently instead of breaking the interface.

Built for DSH Web UI users who maintain multiple providers, switch models and reasoning efforts frequently, and would benefit from family-based grouping — especially those juggling large relay-station catalogs. No setup beyond installation; reload the page and start using it.

截图预览

使用场景

  • 多线路中转站中快速定位目标模型
  • 频繁切换模型并调整推理强度
  • 批量勾选自定义提供方的可用模型

适合人员

  • 维护多条 AI 线路的 DSH 用户
  • 使用中转站或自建网关的开发者
  • 频繁切换模型与推理等级的重度用户