dsh-provider-rate-limit

jyao-SUSE-power-group

按供应商与模型粒度限速 LLM 请求,预约式令牌桶支持排队或拒绝两种模式,附带网关身份规则(改写 User-Agent、注入自定义请求头)。

Rate-limits LLM requests per provider and per model using a reservation-based token bucket, with queue or reject modes, plus gateway identity rules that rewrite user-agent and inject custom headers.

安装命令

dsh plugin --profile web add github:jyao-SUSE-power-group/dsh-provider-rate-limit

该命令来自上游目录,本站的自动审核尚未覆盖它——执行前请自行核对仓库。

安装后运行 dsh --profile web --dump-config 并重启对应 profile。插件会以你的本机权限运行第三方代码,安装前请检查源码。

信号

GitHub Stars0
30 天下载
分发方式Git
收录时间2026-08-28

相关链接

同类插件