AI Agent Hub
Back to plugins
🤖

dsh-model-failover

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Letter2025/dsh-model-failover

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

To install the dsh-model-failover plugin in DeepSeek Harness, run the command 'dsh plugin install Letter2025/dsh-model-failover', with the full source code available at https://github.com/Letter2025/dsh-model-failover.

About this plugin

In deep learning model inference, unstable models or service providers can lead to request failures and disruptions. The dsh-model-failover plugin is designed for DeepSeek Harness to handle faults intelligently with a two-level circuit breaker mechanism: when a model repeatedly fails, it automatically opens a circuit and routes subsequent requests to a configured fallback model; if multiple models under a provider fail simultaneously, a platform-level circuit breaker takes over, switching the entire service. This ensures continuity and reliability in inference workflows without requiring core code modifications. The plugin also supports recovery probes and integrates with existing retry strategies, making it ideal for developers who need high-availability model services, such as teams building production-grade applications or researchers aiming to reduce downtime from model failures and improve user experience.

Use Cases

  • Automatically switching to fallback models when model inference services fail
  • Maintaining inference continuity during provider outages
  • Handling model rate limiting or timeouts under high concurrent requests

Best For

  • Developers using DeepSeek Harness for model inference
  • Production users requiring high-availability inference services
  • AI application builders focused on system reliability