Files
litellm/tests/local_testing
Arseny Boykov f4318bccd3 [Performance] Use _PROXY_MaxParallelRequestsHandler_v3 by default again (#14450)
* Use _PROXY_MaxParallelRequestsHandler_v3 by default (#14352)

(cherry picked from commit f3fa45cf8fbd5f5cce2f45a7312776d5005fb08e)
(cherry picked from commit 5b680bb4a3)

* Use random api_key for parallel requests test

* Fix off-by-one error in parallel request rate limit

The rate limiter was incorrectly rejecting requests when the limit was met, but not exceeded. The check in `is_cache_list_over_limit` was `int(counter_value) + 1 > current_limit`, which caused the first request to be rejected if the limit was 1.

This commit removes the `+ 1`, changing the logic to `int(counter_value) > current_limit`. The check now correctly allows requests up to the specified parallel limit.

* Test actual parallel requests

* Ensure rate limiting works correctly for multiple users

* Add sequential rate-limit test

* Revert random key usage
2025-09-12 17:33:55 -07:00
..
2025-09-03 11:06:09 -07:00
2025-05-13 20:21:14 -07:00
2025-05-31 12:42:56 -07:00
2025-05-20 13:08:47 -07:00
2025-09-06 17:08:31 -07:00
2025-07-04 18:26:54 -07:00
2025-06-28 14:46:16 -07:00
2025-09-01 17:04:47 -07:00
2025-09-01 17:59:40 -07:00
2025-09-01 17:04:47 -07:00
2025-09-06 16:38:43 -07:00
2025-07-23 13:50:36 -07:00
2025-09-09 20:37:09 -07:00
2025-03-21 16:21:18 -07:00
2025-09-01 17:04:47 -07:00
2025-08-13 23:09:18 -07:00
2025-02-10 22:13:58 -08:00
2025-04-01 07:12:29 -07:00
2025-07-08 16:36:11 +02:00
2025-01-05 13:43:32 -08:00