mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-05 23:02:10 +03:00
- Add 'github' to hasPerModelQuota() so 429 on one model doesn't lock the entire connection — same pattern already used for Gemini - Add 'github' to getLimiterKey() for model-scoped Bottleneck rate limiter keys (github:connectionId:model) - Add unit tests for hasPerModelQuota, shouldMarkAccountExhaustedFrom429, lockModelIfPerModelQuota (account-fallback-service.test.ts) - Add integration test for model-scoped limiter keys (rate-limit-manager.test.ts) Co-authored-by: slewis3600 <slewis3600@users.noreply.github.com>