AI Agent Hub
Back to plugins
dsh-provider-switch preview

dsh-provider-switch

Client Updated 2026.09.01

Run the following command in DeepSeek Harness:

dsh plugin install zuojinxin/dsh-provider-switch

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install zuojinxin/dsh-provider-switch in DeepSeek Harness to install; the source code is available at https://github.com/zuojinxin/dsh-provider-switch

About this plugin

When you run three or more LLM providers side by side in DSH Web, the model picker quickly turns into a wall of opaque names, disabling a provider means deleting config, and there is simply no way to give a provider a friendlier display name. dsh-provider-switch adds a native, three-in-one layer: an enable/disable toggle on every provider row on the Settings → Models page that instantly hides that provider's models from the input-box picker and the /model command panel while fail-closed intercepting any llm/stream call with a clear PROVIDER_DISABLED error (no retry); a keyword search box at the top of the model panel that matches model name, description, and provider name case-insensitively; and an inline rename action on the provider edit card title that writes displayName into the official settings namespace and propagates via a settings event so the new name appears immediately everywhere.

The plugin ships as a static web profile, creates no files of its own, and stores the disabled-set and renames in DSH's own settings document—uninstalling leaves at most an empty key. The model picker is a thin fork of the official ModelSelect, preserving two-level menus, reasoning tiers, keyboard navigation, and error retry out of the box; the only additions are the search box and disabled-group filtering. The settings-page toggle and the rename title are DOM-injected against CSS class names, so if an official upgrade changes those classes the affected UI simply disappears while everything else keeps working.

It is a natural fit for teams juggling several providers and needing to flip one on or off per project, solo developers who want to locate a specific model by name or vendor among dozens, and anyone who would rather see a short internal codename instead of a bare provider id in every dropdown. All it requires is dsh web 0.1.2-alpha.3, Node.js 20+, and pnpm on your PATH.

Screenshots

Use Cases

  • Flip a provider on or off per project without deleting its config
  • Jump from dozens of models to the right one by searching model name, description, or vendor
  • Replace bare provider ids with team-friendly short names that show up instantly in every dropdown

Best For

  • Teams running three or more LLM providers in parallel and switching per task
  • Developers and researchers who pick models frequently and want fast filtering
  • Individual users who want a cleaner, customized model-management experience in DSH Web