An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve av
Daniele4b2ffb188d5
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 572bf26e17..54f1d6bfa6 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -4362,8 +4362,8 @@ func BatchReplaceAttributeViewBlocks(avID string, isDetached bool, oldNew []map[}for _, oldNewMap := range oldNew {- for oldBlockID, newBlockID := range oldNewMap {- if err = replaceAttributeViewBlock0(attrView, oldBlockID, newBlockID, isDetached, nil); nil != err {+ for oldBlockID, newNodeID := range oldNewMap {+ if err = replaceAttributeViewBlock0(attrView, oldBlockID, newNodeID, isDetached, nil); nil != err {return}}