RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix task_limiter in raptor.py (#8124)
Zhichang Yu1ed0b25910c6
diff --git a/rag/raptor.py b/rag/raptor.pyindex 007f2529a1..db2c82d2ee 100644--- a/rag/raptor.py+++ b/rag/raptor.py@@ -151,8 +151,7 @@ class RecursiveAbstractiveProcessing4TreeOrganizedRetrieval:for c in range(n_clusters):ck_idx = [i + start for i in range(len(lbls)) if lbls[i] == c]assert len(ck_idx) > 0- async with chat_limiter:- nursery.start_soon(summarize, ck_idx)+ nursery.start_soon(summarize, ck_idx)assert len(chunks) - end == n_clusters, "{} vs. {}".format(len(chunks) - end, n_clusters