Timothy J. Baek 6 tháng trước cách đây
mục cha
commit
4282b20495
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      backend/open_webui/apps/webui/models/files.py

+ 2 - 2
backend/open_webui/apps/webui/models/files.py

@@ -44,8 +44,8 @@ class FileModel(BaseModel):
     data: Optional[dict] = None
     meta: Optional[dict] = None
 
-    created_at: int  # timestamp in epoch
-    updated_at: int  # timestamp in epoch
+    created_at: Optional[int]  # timestamp in epoch
+    updated_at: Optional[int]  # timestamp in epoch
 
 
 ####################