Fix: Make meta optional in FileMetadataResponse to prevent batch add errors (#20022)

This commit is contained in:
G30
2025-12-20 08:25:03 -05:00
committed by GitHub
parent b5bd8704fe
commit 8890555dab

View File

@@ -81,7 +81,7 @@ class FileModelResponse(BaseModel):
class FileMetadataResponse(BaseModel):
id: str
hash: Optional[str] = None
meta: dict
meta: Optional[dict] = None
created_at: int # timestamp in epoch
updated_at: int # timestamp in epoch