Skip to content

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

:art: Improve publish

Daniel4473715186a5
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index 4a35c8621d..8c5fa7dd18 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -361,6 +361,9 @@ func InitConf() {
if nil == Conf.Publish {
Conf.Publish = conf.NewPublish()
}
+ if Conf.OpenHelp && Conf.Publish.Enable {
+ Conf.OpenHelp = false
+ }
if nil == Conf.Repo {
Conf.Repo = conf.NewRepo()