Krish Dholakia
44e7ffd05c
(perf) Litellm redis router fix - ~100ms improvement ( #6483 )
...
* docs(exception_mapping.md): add missing exception types
Fixes https://github.com/Aider-AI/aider/issues/2120#issuecomment-2438971183
* fix(main.py): register custom model pricing with specific key
Ensure custom model pricing is registered to the specific model+provider key combination
* test: make testing more robust for custom pricing
* fix(redis_cache.py): instrument otel logging for sync redis calls
ensures complete coverage for all redis cache calls
* refactor: pass parent_otel_span for redis caching calls in router
allows for more observability into what calls are causing latency issues
* test: update tests with new params
* refactor: ensure e2e otel tracing for router
* refactor(router.py): add more otel tracing acrosss router
catch all latency issues for router requests
* fix: fix linting error
* fix(router.py): fix linting error
* fix: fix test
* test: fix tests
* fix(dual_cache.py): pass ttl to redis cache
* fix: fix param
* perf(cooldown_cache.py): improve cooldown cache, to store cache results in memory for 5s, prevents redis call from being made on each request
reduces 100ms latency per call with caching enabled on router
* fix: fix test
* fix(cooldown_cache.py): handle if a result is None
* fix(cooldown_cache.py): add debug statements
* refactor(dual_cache.py): move to using an in-memory check for batch get cache, to prevent redis from being hit for every call
* fix(cooldown_cache.py): fix linting erropr
2024-10-29 13:58:29 -07:00
..
2024-09-28 21:08:14 -07:00
2024-10-19 09:00:27 +05:30
2024-10-01 19:44:20 -04:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-02 22:00:28 -04:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-29 13:58:29 -07:00
2024-09-28 21:08:14 -07:00
2024-10-14 16:34:01 +05:30
2024-10-28 15:05:20 -07:00
2024-10-14 16:34:01 +05:30
2024-10-17 16:14:57 +05:30
2024-10-21 21:25:58 -07:00
2024-10-01 10:49:22 -07:00
2024-09-28 21:08:14 -07:00
2024-10-23 09:38:35 +05:30
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-14 22:44:00 -07:00
2024-10-25 18:21:17 +04:00
2024-10-14 16:34:01 +05:30
2024-10-17 22:09:11 -07:00
2024-10-14 16:34:01 +05:30
2024-10-14 21:27:54 +05:30
2024-09-28 21:08:14 -07:00
2024-10-01 19:44:20 -04:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-10-12 14:10:24 +05:30
2024-10-04 21:28:53 -04:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-10-01 19:44:20 -04:00
2024-10-17 19:12:57 +05:30
2024-10-14 16:34:01 +05:30
2024-10-29 13:58:29 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-22 21:18:54 -07:00
2024-09-28 21:08:14 -07:00
2024-10-23 22:19:57 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-19 16:16:51 -07:00
2024-10-01 19:44:20 -04:00
2024-10-12 11:48:34 -07:00
2024-10-12 14:48:17 -07:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-10-29 21:07:17 +05:30
2024-10-16 07:32:06 -07:00
2024-09-28 21:08:14 -07:00
2024-10-25 15:55:56 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-01 19:44:20 -04:00
2024-09-28 21:08:14 -07:00
2024-10-28 15:05:20 -07:00
2024-09-28 21:08:14 -07:00
2024-10-05 16:58:10 +05:30
2024-10-25 15:55:56 -07:00
2024-10-05 18:59:11 -04:00
2024-10-20 09:00:04 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-16 07:32:06 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-19 22:23:27 -07:00
2024-10-01 19:44:20 -04:00
2024-10-14 16:34:01 +05:30
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-29 21:07:17 +05:30
2024-09-28 21:08:14 -07:00
2024-10-03 18:02:28 -04:00
2024-10-14 16:34:01 +05:30
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-14 16:34:01 +05:30
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-10-01 19:44:20 -04:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-14 16:34:01 +05:30
2024-10-10 18:27:50 +05:30
2024-10-14 16:34:01 +05:30
2024-10-12 11:48:34 -07:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-10-29 21:29:19 +05:30
2024-10-24 16:41:09 +04:00
2024-10-05 18:59:11 -04:00
2024-10-25 15:55:56 -07:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-10-01 19:44:20 -04:00
2024-10-19 09:00:27 +05:30
2024-09-28 21:08:14 -07:00
2024-10-16 07:32:06 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-14 16:34:01 +05:30
2024-10-25 10:48:00 +04:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-25 15:55:56 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-24 22:03:16 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-28 21:52:12 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-16 16:16:17 +05:30
2024-10-28 15:05:43 -07:00
2024-09-28 21:08:14 -07:00
2024-10-23 20:31:57 +05:30
2024-09-28 21:08:14 -07:00
2024-10-24 19:01:41 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-01 19:44:20 -04:00
2024-09-28 21:08:14 -07:00
2024-10-29 13:58:29 -07:00
2024-10-01 19:44:20 -04:00
2024-10-04 21:28:53 -04:00
2024-09-28 21:08:14 -07:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-16 07:32:06 -07:00
2024-10-19 16:16:51 -07:00
2024-10-14 16:34:01 +05:30
2024-10-01 19:44:20 -04:00
2024-09-28 21:08:14 -07:00
2024-10-23 22:19:57 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-22 21:18:54 -07:00
2024-10-14 16:34:01 +05:30
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-17 22:09:11 -07:00
2024-10-29 13:58:29 -07:00
2024-10-14 16:34:01 +05:30
2024-10-25 10:37:11 +04:00
2024-10-25 15:55:56 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-10-14 22:44:00 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00
2024-09-28 21:08:14 -07:00