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: Database is constantly loading https://github.com/siyuan-note/siyuan/issues/16023
Daniel3a772ee62ba7
diff --git a/kernel/api/av.go b/kernel/api/av.goindex 541b10ac49..1f3cb1b831 100644--- a/kernel/api/av.go+++ b/kernel/api/av.go@@ -77,7 +77,10 @@ func getAttributeViewAddingBlockDefaultValues(c *gin.Context) {}avID := arg["avID"].(string)- viewID := arg["viewID"].(string)+ var viewID string+ if viewIDArg := arg["viewID"]; nil != viewIDArg {+ viewID = viewIDArg.(string)+ }var groupID stringif groupIDArg := arg["groupID"]; nil != groupIDArg {groupID = groupIDArg.(string)diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex a7fba06b10..2795fb0c98 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -95,7 +95,7 @@ func GetAttrViewAddingBlockDefaultValues(avID, viewID, groupID, previousBlockID,return}- view := attrView.GetView(viewID)+ view, _ := attrView.GetCurrentView(viewID)if nil == view {logging.LogErrorf("view [%s] not found in attribute view [%s]", viewID, avID)return