mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix(lowest_tpm_rpm_v2.py): skip if item_tpm is None
This commit is contained in:
parent
81df36b298
commit
020b175ef4
1 changed files with 2 additions and 0 deletions
|
|
@ -343,6 +343,8 @@ class LowestTPMLoggingHandler_v2(CustomLogger):
|
|||
_deployment = m
|
||||
if _deployment is None:
|
||||
continue # skip to next one
|
||||
elif item_tpm is None:
|
||||
continue # skip if unhealthy deployment
|
||||
|
||||
_deployment_tpm = None
|
||||
if _deployment_tpm is None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue