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/7714
Liang Ding4e6d9a3eff2c
diff --git a/kernel/model/conf.go b/kernel/model/conf.goindex be2fd0840e..7566ae72f7 100644--- a/kernel/model/conf.go+++ b/kernel/model/conf.go@@ -319,10 +319,9 @@ func InitConf() {Conf.Flashcard = conf.NewFlashcard()}- // TODO 支持应用内配置人工智能 https://github.com/siyuan-note/siyuan/issues/7714- //if nil == Conf.AI {- // Conf.AI = conf.NewAI()- //}+ if nil == Conf.AI {+ Conf.AI = conf.NewAI()+ }Conf.ReadOnly = util.ReadOnly