mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test(proxy): give the batch tests' fake router the alias and routed-group lookups
This commit is contained in:
parent
a486146c9f
commit
e49aa9f0c4
1 changed files with 6 additions and 0 deletions
|
|
@ -255,6 +255,12 @@ class FakeRouter:
|
|||
def get_model_list(self, model_name: str | None = None) -> None:
|
||||
return None
|
||||
|
||||
def get_model_from_alias(self, model: str) -> None:
|
||||
return None
|
||||
|
||||
def get_model_list_of_routed_group(self, model_group: str) -> list[object]:
|
||||
return []
|
||||
|
||||
|
||||
class FakeStorageBackend:
|
||||
def __init__(self, contents: Mapping[str, bytes]) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue