DeepSeek Harness Proactive Rate Limiting Plugin: dsh-rate-limiter

dsh-rate-limiter is a proactive rate-limiting plugin maintained by Xidong-AI to address API rate-limiting issues in DeepSeek Harness development. It uses a token bucket algorithm to control request frequency before requests are sent; when tokens are insufficient, requests are placed in a delayed queue instead of being rejected, thereby avoiding 429 errors. The plugin is non-invasive, supports signal interruption, has no third-party dependencies, and is compatible with retry plugins. Users can install it via npm and define the `rate` (average rate) and `burst` (burst capacity) parameters per provider in the configuration file.

Read More