From 6d768783820f10a00ff1a7ea5f98efab7992f23f Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 12 Dec 2023 12:38:11 -0800 Subject: [PATCH] (fix) pydantic: Field "model_list" has conflict with protected namespace "model_". --- litellm/proxy/_types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index 7ab0d5fe5..4cf51d3de 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -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 = ()