An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Fix NPE
Danielc2a6e6560aeb
diff --git a/kernel/model/index_fix.go b/kernel/model/index_fix.goindex ce3b018855..0365a0b6c2 100644--- a/kernel/model/index_fix.go+++ b/kernel/model/index_fix.go@@ -78,6 +78,9 @@ func removeDuplicateDatabaseIndex() {roots := sql.GetBlocks(duplicatedRootIDs)rootMap := map[string]*sql.Block{}for _, root := range roots {+ if nil == root {+ continue+ }rootMap[root.ID] = root}