Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: compatiable opendal modify (#29794)
wangxiaoleib3e5d45755b5
diff --git a/api/extensions/storage/opendal_storage.py b/api/extensions/storage/opendal_storage.pyindex a084844d725..83c5c2d12f3 100644--- a/api/extensions/storage/opendal_storage.py+++ b/api/extensions/storage/opendal_storage.py@@ -87,15 +87,16 @@ class OpenDALStorage(BaseStorage):if not self.exists(path):raise FileNotFoundError("Path not found")- all_files = self.op.scan(path=path)+ # Use the new OpenDAL 0.46.0+ API with recursive listing+ lister = self.op.list(path, recursive=True)if files and directories:logger.debug("files and directories on %s scanned", path)- return [f.path for f in all_files]+ return [entry.path for entry in lister]if files:logger.debug("files on %s scanned", path)- return [f.path for f in all_files if not f.path.endswith("/")]+ return [entry.path for entry in lister if not entry.metadata.is_dir]elif directories:logger.debug("directories on %s scanned", path)- return [f.path for f in all_files if f.path.endswith("/")]+ return [entry.path for entry in lister if entry.metadata.is_dir]else:raise ValueError("At least one of files or directories must be True")