mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
(fix) litellm proxy with router
This commit is contained in:
parent
8ad152a7a4
commit
220935c3cc
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ class Router:
|
|||
redis_host: Optional[str] = None,
|
||||
redis_port: Optional[int] = None,
|
||||
redis_password: Optional[str] = None) -> None:
|
||||
self.model_names = []
|
||||
if model_list:
|
||||
self.model_list = model_list
|
||||
self.model_names = [m["model_name"] for m in model_list]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue