(fix) pydantic: Field "model_list" has conflict with protected namespace "model_".

This commit is contained in:
ishaan-jaff 2023-12-12 12:38:11 -08:00
parent 766a6b9014
commit 6d76878382

View file

@ -169,3 +169,5 @@ class ConfigYAML(LiteLLMBase):
model_list: Optional[List[ModelParams]] = Field(None, description="List of supported models on the server, with model-specific configs")
litellm_settings: Optional[dict] = Field(None, description="litellm Module settings. See __init__.py for all, example litellm.drop_params=True, litellm.set_verbose=True, litellm.api_base, litellm.cache")
general_settings: Optional[ConfigGeneralSettings] = None
class Config:
protected_namespaces = ()