fix: issues by pydantic2 upgrade (#5171)

This commit is contained in:
takatost
2024-06-14 02:28:28 +08:00
committed by GitHub
parent f13af5a811
commit 5ec7d85629
16 changed files with 65 additions and 231 deletions

View File

@@ -97,3 +97,6 @@ class ModelSettings(BaseModel):
model_type: ModelType
enabled: bool = True
load_balancing_configs: list[ModelLoadBalancingConfiguration] = []
# pydantic configs
model_config = ConfigDict(protected_namespaces=())