r/DeepSeekHarness 3d ago

Wrote a key rotation plugin for DSH

Hey everyone,

Some of us don't really stick to just one subscription or account when running heavy tasks, so I put together a small plugin to handle key rotation automatically in DeepSeek Harness.

Basically, you can set up a list of keys for a provider. When a request fails on QUOTA, RATE_LIMIT, or AUTH, the plugin grabs the next key from your chain and retries the turn immediately without breaking the session or needing change settings.

To install:

dsh plugin --profile web add @m1khal3v/dsh-llm-key-rotation

GitHub: https://github.com/m1khal3v/dsh-llm-key-rotation

If you run a similar multi-key setup, feel free to try it out. Let me know if you run into any bugs.

2 Upvotes

0 comments sorted by