dsh-tokenshare-limiter: Adding Outbound Throttling and Exception Replay to TokenShare Routes
dsh-tokenshare-limiter is a DSH plugin by maintainer cznbnbnb that provides sliding-window per-minute rate limiting for the TokenShare provider at the llm/stream layer, and automatically replays requests after a configured wait period upon receiving upstream 429/5xx responses. Defaults to 14 requests per minute with a 5-minute cooldown after exceptions. Configuration is available via the settings page slider or tokenshare-limiter.json; parameters such as perMinute and retryWaitMinutes can be adjusted through cordis.patch.yml. It does not touch API keys, is MIT-licensed, and requires DSH >= 0.2.0.
Read More