llm router for gpt4 turbo (#237)

This commit is contained in:
Kerem Yilmaz 2024-04-25 01:32:22 -07:00 committed by GitHub
parent 52e6205005
commit 3d712cb0fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -34,10 +34,10 @@ class LLMRouterModelConfig:
class LLMRouterConfig(LLMConfig):
model_list: list[LLMRouterModelConfig]
# All three redis parameters are required. Even if there isn't a password, it should be an empty string.
redis_host: str
redis_port: int
redis_password: str
main_model_group: str
redis_host: str | None = None
redis_port: int | None = None
redis_password: str | None = None
fallback_model_group: str | None = None
routing_strategy: Literal[
"simple-shuffle",