소스 검색

Merge pull request #6382 from open-webui/dev

fix
Timothy Jaeryang Baek 6 달 전
부모
커밋
68916f7ec4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
 
 
 ####################