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/6415
Liang Ding0b31e72779c0
diff --git a/kernel/api/setting.go b/kernel/api/setting.goindex 1990601867..3848dd3262 100644--- a/kernel/api/setting.go+++ b/kernel/api/setting.go@@ -204,7 +204,7 @@ func setSearch(c *gin.Context) {}if 1 > s.Limit {- s.Limit = 32+ s.Limit = 64}oldCaseSensitive := model.Conf.Search.CaseSensitivediff --git a/kernel/model/conf.go b/kernel/model/conf.goindex 211507130a..867e9b09a2 100644--- a/kernel/model/conf.go+++ b/kernel/model/conf.go@@ -257,10 +257,16 @@ func InitConf() {if 1 > Conf.Editor.HistoryRetentionDays {Conf.Editor.HistoryRetentionDays = 7}+ if 1 > Conf.Editor.DynamicLoadBlocks {+ Conf.Editor.DynamicLoadBlocks = 128+ }if nil == Conf.Search {Conf.Search = conf.NewSearch()}+ if 1 > Conf.Search.Limit {+ Conf.Search.Limit = 64+ }if nil == Conf.Stat {Conf.Stat = conf.NewStat()