Merge pull request #3519 from CyanideByte/pydantic-warning

Pydantic warning conflict with protected namespace
This commit is contained in:
Ishaan Jaff 2024-05-08 08:20:39 -07:00 committed by GitHub
commit 190e2fc3d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,9 @@ class UpdateRouterConfig(BaseModel):
fallbacks: Optional[List[dict]] = None
context_window_fallbacks: Optional[List[dict]] = None
class Config:
protected_namespaces = ()
class ModelInfo(BaseModel):
id: Optional[