mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
first commit
This commit is contained in:
parent
ee92c9c8b6
commit
f7dc2bf545
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class Router:
|
|||
if len(self.healthy_deployments) > 0:
|
||||
for item in self.healthy_deployments:
|
||||
if item[0]["model_name"] == model: # first one in queue will be the one with the most availability
|
||||
return item or item[0]
|
||||
return item[0]
|
||||
else:
|
||||
potential_deployments = []
|
||||
for item in self.model_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue