mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
refactor: instrument 'dynamic_rate_limiting' callback on proxy
This commit is contained in:
parent
6a7982fa40
commit
8f95381276
8 changed files with 136 additions and 28 deletions
|
@ -131,7 +131,6 @@ class _PROXY_DynamicRateLimitHandler(CustomLogger):
|
|||
- Check if tpm available
|
||||
- Raise RateLimitError if no tpm available
|
||||
"""
|
||||
|
||||
if "model" in data:
|
||||
available_tpm, model_tpm, active_projects = await self.check_available_tpm(
|
||||
model=data["model"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue