fix: Fix the case where documents were created when summary_index_setting was disabled. Fix the problem that summaries of chunks without text content is always in English.

This commit is contained in:
FFXN
2026-02-01 21:49:26 +08:00
parent d4844a902e
commit e041ea0a27

View File

@ -565,6 +565,9 @@ class SummaryIndexService:
)
session.add(summary_record)
# Commit the batch created records
session.commit()
@staticmethod
def update_summary_record_error(
segment: DocumentSegment,
@ -769,7 +772,6 @@ class SummaryIndexService:
dataset=dataset,
status="not_started",
)
session.commit() # Commit initial records
summary_records = []