feat: support large FAQ imports via object storage

This commit is contained in:
wizardchen
2026-01-16 15:05:33 +08:00
committed by lyingbug
parent a9df80b5db
commit cb9369b16b
2 changed files with 0 additions and 8 deletions
@@ -3030,11 +3030,6 @@ func (s *knowledgeService) saveFAQImportResultToDatabase(ctx context.Context,
importResult.FailedEntriesURL = progress.FailedEntriesURL
}
// 设置成功条目信息
if len(progress.SuccessEntries) > 0 {
importResult.SuccessEntries = progress.SuccessEntries
}
// 设置导入结果到Knowledge的metadata中
if err := knowledge.SetLastFAQImportResult(importResult); err != nil {
return fmt.Errorf("failed to set FAQ import result: %w", err)