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 https://github.com/siyuan-note/siyuan/issues/15661
Daniel1503363a7cdc
diff --git a/kernel/av/value.go b/kernel/av/value.goindex 6ea5d3f998..2be6b01f10 100644--- a/kernel/av/value.go+++ b/kernel/av/value.go@@ -19,6 +19,7 @@ package avimport ("fmt""math"+ "reflect""sort""strconv""strings"@@ -808,7 +809,7 @@ func (r *ValueRollup) BuildContents(keyValues []*KeyValues, destKey *Key, relaticontinue}- if val := destVal.GetValByType(destKey.Type); nil == val {+ if val := destVal.GetValByType(destKey.Type); nil == val || reflect.ValueOf(val).IsNil() {// 目标字段因为修改类型导致空值continue}