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: parameter missing. (#8895)
Kevin Hu606bf20a3f81
diff --git a/graphrag/general/index.py b/graphrag/general/index.pyindex 7787bf074e..bb51adcdbf 100644--- a/graphrag/general/index.py+++ b/graphrag/general/index.py@@ -42,7 +42,7 @@ from rag.utils.redis_conn import RedisDistributedLock@timeout(30, 2)async def _is_strong_enough(chat_model, embedding_model):_ = await trio.to_thread.run_sync(lambda: embedding_model.encode(["Are you strong enough!?"]))- res = await trio.to_thread.run_sync(lambda: chat_model.chat("Nothing special.", [{"role":"user", "content": "Are you strong enough!?"}]))+ res = await trio.to_thread.run_sync(lambda: chat_model.chat("Nothing special.", [{"role":"user", "content": "Are you strong enough!?"}], {}))if res.find("**ERROR**") >= 0:raise Exception(res)