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¶
- Open DSH and navigate to the “Settings → Models” page.
- Locate the target provider row you need to manage.
- 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-accountat 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.