This commit is contained in:
AliZeeshan998 2025-04-24 01:06:22 -07:00 committed by GitHub
commit e03d9d9db3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ class ModelConfig(BaseModel):
class RouterConfig(BaseModel):
model_list: List[ModelConfig]
model_list: Optional[List[ModelConfig]]
redis_url: Optional[str] = None
redis_host: Optional[str] = None
@ -342,7 +342,7 @@ class LiteLLM_Params(GenericLiteLLMParams):
class updateLiteLLMParams(GenericLiteLLMParams):
# This class is used to update the LiteLLM_Params
# only differece is model is optional
# only difference is model is optional
model: Optional[str] = None