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 https://github.com/siyuan-note/siyuan/issues/16593
Daniel420dc79830ea
diff --git a/kernel/av/value.go b/kernel/av/value.goindex 97defaeef3..77e6a3251f 100644--- a/kernel/av/value.go+++ b/kernel/av/value.go@@ -419,6 +419,14 @@ func (value *Value) SetValByType(typ KeyType, val interface{}) {}func (value *Value) GetValByType(typ KeyType) (ret interface{}) {+ // 单独处理汇总+ if KeyTypeRollup == value.Type {+ if 1 > len(value.Rollup.Contents) {+ return nil+ }+ return value.Rollup.Contents[0].GetValByType(typ)+ }+switch typ {case KeyTypeBlock:return value.Block