Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve cloud disk detect

Daniele92eac7b63c4
diff --git a/kernel/util/runtime.go b/kernel/util/runtime.go
index cec6d612da..09a15aede7 100644
--- a/kernel/util/runtime.go
+++ b/kernel/util/runtime.go
@@ -291,7 +291,8 @@ func isKnownCloudDrivePath(workspaceAbsPath string) bool {
workspaceAbsPathLower := strings.ToLower(workspaceAbsPath)
return strings.Contains(workspaceAbsPathLower, "onedrive") || strings.Contains(workspaceAbsPathLower, "dropbox") ||
strings.Contains(workspaceAbsPathLower, "google drive") || strings.Contains(workspaceAbsPathLower, "pcloud") ||
- strings.Contains(workspaceAbsPathLower, "坚果云")
+ strings.Contains(workspaceAbsPathLower, "坚果云") ||
+ strings.Contains(workspaceAbsPathLower, "天翼云")
}
func isICloudPath(workspaceAbsPath string) (ret bool) {