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
Refine the error message. (#5275)
Kevin Hu041d72b755f4
diff --git a/agent/component/exesql.py b/agent/component/exesql.pyindex 5007c4283d..639d011d7a 100644--- a/agent/component/exesql.py+++ b/agent/component/exesql.py@@ -52,9 +52,9 @@ class ExeSQLParam(GenerateParam):self.check_positive_integer(self.top_n, "Number of records")if self.database == "rag_flow":if self.host == "ragflow-mysql":- raise ValueError("The host is not accessible.")+ raise ValueError("For the security reason, it dose not support database named rag_flow.")if self.password == "infini_rag_flow":- raise ValueError("The host is not accessible.")+ raise ValueError("For the security reason, it dose not support database named rag_flow.")class ExeSQL(Generate, ABC):