- [Scheduler & Rate Limiting] Proactive Per-Account Concurrency & Sliding-Window RPM Limiting for Text Requests (Ref #4174):
- Process-Level
TextScheduler& Hot Reload: Addedproxy.text_scheduler(per_account_concurrency,per_account_rpm,per_account_model_rpm,saturation_wait_seconds, plusABV_TEXT_*env overrides, all defaulting to0unlimited with hot-reload support), performing atomic admission during token selection and returning429withRetry-Afteron saturation timeout. - Sticky Session Protection & Unified Protocol Integration: Wired across Gemini, Claude, OpenAI Chat, and Responses handlers as well as
RetrySameAccountretries; rolls back RPM reservations on pre-dispatch cancellation while releasing concurrency slots on SSE stream drop; preservesCacheFirstbindings during saturation wait and spills over cleanly underBalance/PerformanceFirst.
- Process-Level
- [调度内核与限流] 文本请求按账号主动并发与滑动窗口 RPM 限流 (Ref #4174):
- 进程级
TextScheduler与热更新配置: 新增proxy.text_scheduler(支持per_account_concurrency、per_account_rpm、per_account_model_rpm、saturation_wait_seconds及ABV_TEXT_*环境变量覆写,默认0不限制,配置保存即时热生效),在选号准入阶段原子占位并支持 429 +Retry-After响应。 - 粘性会话保护与全协议统一接入: 统一接入 Gemini / Claude / OpenAI Chat / Responses 四条文本链路及
RetrySameAccount重试路径;未发往上游前取消自动回滚 RPM 计数,已发往上游后 SSE 断流仅释放并发槽位;CacheFirst饱和原地等待不解绑会话,Balance/PerformanceFirst自动溢出切换。
- 进程级
Full Changelog: v5.0.5-beta.10...v5.0.5-beta.11