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 Ding136fdcbb99c5
diff --git a/kernel/model/ai.go b/kernel/model/ai.goindex bdc5ea1c48..4c895a5ca1 100644--- a/kernel/model/ai.go+++ b/kernel/model/ai.go@@ -57,7 +57,10 @@ func chatGPT(msg string, cloud bool) (ret string) {}func chatGPTWithAction(msg string, action string, cloud bool) (ret string) {- msg = action + ":\n\n" + msg+ action = strings.TrimSpace(action)+ if "" != action {+ msg = action + ":\n\n" + msg+ }ret, _, err := chatGPTContinueWrite(msg, nil, cloud)if nil != err {return