mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
Fix: Make meta optional in FileMetadataResponse to prevent batch add errors (#20022)
This commit is contained in:
parent
b5bd8704fe
commit
8890555dab
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue