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: https://github.com/siyuan-note/siyuan/issues/10414
Vanessa0ef5fb7f1dec
diff --git a/kernel/api/av.go b/kernel/api/av.goindex c7e24dfd4f..53db6a8a38 100644--- a/kernel/api/av.go+++ b/kernel/api/av.go@@ -37,8 +37,8 @@ func changeAttrViewLayout(c *gin.Context) {blockID := arg["blockID"].(string)avID := arg["avID"].(string)- layoutType := arg["layoutType"].(av.LayoutType)- err := model.ChangeAttrViewLayout(blockID, avID, layoutType)+ layoutType := arg["layoutType"].(string)+ err := model.ChangeAttrViewLayout(blockID, avID, av.LayoutType(layoutType))if err != nil {ret.Code = -1ret.Msg = err.Error()