mirror of
https://github.com/zebrajr/ollama-webui.git
synced 2026-01-15 12:15:13 +00:00
Fix: Make meta optional in FileMetadataResponse to prevent batch add errors (#20022)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user