dsh-model-gate
Run the following command in DeepSeek Harness:
dsh plugin install OPaimon/dsh-model-gate
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install OPaimon/dsh-model-gate in the DeepSeek Harness terminal to install; the plugin source is at https://github.com/OPaimon/dsh-model-gate .
About this plugin
When DSH fronts multiple providers with dozens of models, it is hard to make specific routes or model pairs vanish from every selector and dispatch path without touching provider credentials or configuration. dsh-model-gate solves this with an independent, non-destructive denylist overlay: you can block an entire provider route, an exact provider/model pair, or use a star-prefixed wildcard to deny a model id across all providers. Removing an entry or uninstalling the plugin restores the native catalog with zero residue.
A disabled model disappears from the web selector, the session.models / llm.models catalogs, task_models, and API request validation as though it were never configured. As a dispatch backstop, any path that still reaches a denied model, whether through subagents, session titles, stale references, or explicit ids, is terminated at the llm/stream waterfall with a single MODEL_DISABLED error chunk before a network request is issued. The settings panel exposes a per-provider collapsible group with one toggle per model row; every change hot-applies through the same settings chain as manual YAML edits, so no restart is needed.
It is built for DSH operators who run multiple provider routes and need to temporarily or permanently retire a model or an entire vendor path without polluting provider configuration, as well as for team environments that want a unified, reversible visibility gate and a clean error contract that composes naturally with failover plugins.
Screenshots
Use Cases
- Temporarily retire all models from a provider without deleting its config
- Enforce unified model visibility and dispatch authorization policies across a team
- Provide a clean MODEL_DISABLED error contract for failover plugins
Best For
- DSH operators managing multiple provider routes
- Users who need to retire models without polluting provider configuration
- Developers building failover or error-recovery pipelines
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.


