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: enlarge the timeout limits. (#9201)
Kevin Hu30e9212db9d5
diff --git a/api/utils/api_utils.py b/api/utils/api_utils.pyindex 0bb0931cbe..48be1ecae2 100644--- a/api/utils/api_utils.py+++ b/api/utils/api_utils.py@@ -687,7 +687,7 @@ def timeout(seconds: float | int = None, attempts: int = 2, *, exception: Optionasync def is_strong_enough(chat_model, embedding_model):- @timeout(30, 2)+ @timeout(60, 2)async def _is_strong_enough():nonlocal chat_model, embedding_modelif embedding_model:diff --git a/graphrag/general/extractor.py b/graphrag/general/extractor.pyindex a6ceb1d1c9..a49074c907 100644--- a/graphrag/general/extractor.py+++ b/graphrag/general/extractor.py@@ -47,7 +47,7 @@ class Extractor:self._language = languageself._entity_types = entity_types or DEFAULT_ENTITY_TYPES- @timeout(60*3)+ @timeout(60*5)def _chat(self, system, history, gen_conf={}):hist = deepcopy(history)conf = deepcopy(gen_conf)