From 513a49b96961a61bb4e74f5aa57e7b4ee830829e Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Thu, 22 Jan 2026 14:55:50 +0800 Subject: [PATCH] fix: edit summary --- .../components/datasets/documents/detail/completed/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/app/components/datasets/documents/detail/completed/index.tsx b/web/app/components/datasets/documents/detail/completed/index.tsx index 83f7e03248..3cc1632271 100644 --- a/web/app/components/datasets/documents/detail/completed/index.tsx +++ b/web/app/components/datasets/documents/detail/completed/index.tsx @@ -352,8 +352,7 @@ const Completed: FC = ({ params.attachment_ids = attachments.map(item => item.uploadedId!) } - if (summary) - params.summary = summary + params.summary = summary ?? '' if (needRegenerate) params.regenerate_child_chunks = needRegenerate