fix(app): silence pydantic protected namespace warning

Closes #7287
This commit is contained in:
psychedelicious 2024-11-08 05:58:14 +10:00
parent 2f6b035138
commit 29d63d5dea

View File

@ -165,6 +165,8 @@ class SubmodelDefinition(BaseModel):
model_type: ModelType
variant: AnyVariant = None
model_config = ConfigDict(protected_namespaces=())
class MainModelDefaultSettings(BaseModel):
vae: str | None = Field(default=None, description="Default VAE for this model (model key)")