Skip to content

Commit

Permalink
hotfix with incorrect var
Browse files Browse the repository at this point in the history
  • Loading branch information
trisongz committed Mar 5, 2024
1 parent 82221b4 commit e507b92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion async_openai/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ async def aget_api_client_from_list(
"""
if self.auto_loadbalance_clients:
if not client_names: return self.apis.get_api_client(**kwargs)
return await self.apis.aget_api_client_from_list(client_name = client_name, **kwargs)
return await self.apis.aget_api_client_from_list(client_names = client_names, **kwargs)
if not client_names: return self.get_api_client(**kwargs)
if not self.auto_healthcheck:
name = self.select_client_name_from_weights(client_names) if self.has_client_weights else random.choice(client_names)
Expand Down
2 changes: 1 addition & 1 deletion async_openai/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '0.0.52'
VERSION = '0.0.53rc0'

0 comments on commit e507b92

Please sign in to comment.