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: opendal storage health attribute not found & remove duplicate operator scheme initialization (#8265)
cutiechidabbc852c874
diff --git a/rag/utils/opendal_conn.py b/rag/utils/opendal_conn.pyindex 255ccebef2..715c18d190 100644--- a/rag/utils/opendal_conn.py+++ b/rag/utils/opendal_conn.py@@ -58,10 +58,15 @@ class OpenDALStorage:if self._scheme == 'mysql':self.init_db_config()self.init_opendal_mysql_table()- self._operator = opendal.Operator(self._scheme, **self._kwargs)+ self._operator = opendal.Operator(**self._kwargs)logging.info("OpenDALStorage initialized successfully")+ def health(self):+ bucket, fnm, binary = "txtxtxtxt1", "txtxtxtxt1", b"_t@@@1"+ r = self._operator.write(f"{bucket}/{fnm}", binary)+ return r+def put(self, bucket, fnm, binary):self._operator.write(f"{bucket}/{fnm}", binary)