mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix
This commit is contained in:
parent
984259d420
commit
787735bb5a
1 changed files with 2 additions and 1 deletions
|
@ -351,7 +351,8 @@ class LowestLatencyLoggingHandler(CustomLogger):
|
|||
total += _call_latency
|
||||
item_latency = total / len(item_latency)
|
||||
print("item_latency=", item_latency, "deployment=", deployment) # noqa
|
||||
_latency_per_deployment[_deployment_api_base] = item_latency
|
||||
if _deployment_api_base is not None:
|
||||
_latency_per_deployment[_deployment_api_base] = item_latency
|
||||
if item_latency == 0:
|
||||
deployment = _deployment
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue