Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051

Daniel962a9dff56e5
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index 67947f333c..ae7ecb3a1e 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -221,6 +221,9 @@ func InitConf() {
util.CurrentCloudRegion = Conf.CloudRegion
Conf.System.DisabledFeatures = util.DisabledFeatures
+ if 1 > len(Conf.System.DisabledFeatures) {
+ Conf.System.DisabledFeatures = []string{}
+ }
if nil == Conf.Tag {
Conf.Tag = conf.NewTag()