mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix lowest latency - routing
This commit is contained in:
parent
5247d7b6a5
commit
3b0aa05378
1 changed files with 2 additions and 0 deletions
|
|
@ -312,6 +312,8 @@ class LowestLatencyLoggingHandler(CustomLogger):
|
|||
except:
|
||||
input_tokens = 0
|
||||
|
||||
all_deployments = random.sample(all_deployments.items(), len(all_deployments))
|
||||
all_deployments = dict(all_deployments)
|
||||
for item, item_map in all_deployments.items():
|
||||
## get the item from model list
|
||||
_deployment = None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue