Переглянути джерело

fix file estimate issue (#1860)

Co-authored-by: jyong <jyong@dify.ai>
tags/0.4.0
Jyong 1 рік тому
джерело
коміт
e91dd28a76
Аккаунт користувача з таким Email не знайдено

+ 1
- 1
api/controllers/console/datasets/datasets_document.py Переглянути файл

@@ -410,7 +410,7 @@ class DocumentBatchIndexingEstimateApi(DocumentResource):
if dataset.data_source_type == 'upload_file':
file_details = db.session.query(UploadFile).filter(
UploadFile.tenant_id == current_user.current_tenant_id,
UploadFile.id in info_list
UploadFile.id.in_(info_list)
).all()

if file_details is None:

Завантаження…
Відмінити
Зберегти