dsh-provider-toggle: One-Click Toggle for DSH Model Providers

Introduction

The model selection bar in DeepSeek Harness (DSH) typically includes all configured model providers. If you want to temporarily disable a specific provider (for example, to test API connectivity or clean up the list), you usually need to manually modify configuration files or uninstall plugins. The dsh-provider-toggle plugin solves this cumbersome operation by providing a toggle switch directly in the interface.

Plugin Overview

  • Name: dsh-provider-toggle
  • Owner: DeepseekDays
  • Category: Client
  • License: MIT
  • Core Capability: Provides a one-click enable/disable toggle for each model provider.

Core Features

  • Toggle Location: In each row under “Settings → Models”, the toggle is located to the left of the “Edit” button.
  • Disable Logic: After turning off the toggle, the provider disappears from the model selection bar in the main interface.
  • Enable Logic: After turning the toggle back on, the provider reappears.
  • Implementation: Achieved by wrapping ctx.llm.listModels(), without modifying DSH kernel files.

Installation and Activation

Install via the official command:

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

Typical Usage

  1. Open DSH and navigate to the “Settings → Models” page.
  2. Locate the target provider row you need to manage.
  3. Click the toggle on the left side of the row to disable or enable the provider.

Notes

  • Runtime Dependencies: None.
  • Special Limitations: No toggle functionality for deepseek-account at this time.
  • Restart Requirement: If the bundle is not loaded (e.g., just installed), you need to fully exit DSH (including from the system tray) and restart; the toggle will then appear.

Summary

This plugin enables quick enablement and disabling of model providers through simple UI toggles, without modifying kernel files. It is suitable for developers who need to frequently switch model sources.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye