Skip to content

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

:art: Improve logging

Daniel9dc68a28e47d
diff --git a/kernel/model/index_fix.go b/kernel/model/index_fix.go
index f6c51eeeaa..70b3172258 100644
--- a/kernel/model/index_fix.go
+++ b/kernel/model/index_fix.go
@@ -74,7 +74,7 @@ func removeDuplicateDatabaseRefs() {
}
if 0 < len(duplicatedRootIDs) {
- logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", duplicatedRootIDs)
+ logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", len(duplicatedRootIDs))
}
}