Let list_chat go without kb checking. (#5280)

### What problem does this PR solve?

#5278 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2025-02-24 13:21:05 +08:00
committed by GitHub
parent 605cfdb8dc
commit 9aa222f738
2 changed files with 5 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class RecursiveAbstractiveProcessing4TreeOrganizedRetrieval:
layers = [(0, len(chunks))]
start, end = 0, len(chunks)
if len(chunks) <= 1:
return
return []
chunks = [(s, a) for s, a in chunks if s and len(a) > 0]
def summarize(ck_idx, lock):