An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/8259
Vanessa7c7f3db0b8f1
diff --git a/app/src/util/fetch.ts b/app/src/util/fetch.tsindex 42430c61c5..61779838ec 100644--- a/app/src/util/fetch.ts+++ b/app/src/util/fetch.ts@@ -42,7 +42,10 @@ export const fetchPost = (url: string, data?: any, cb?: (response: IWebSocketDat}}}).then((response: IWebSocketData) => {- if (!response) {+ if (typeof response === "string") {+ if (cb) {+ cb(response);+ }return;}if (["/api/search/searchRefBlock", "/api/graph/getGraph", "/api/graph/getLocalGraph"].includes(url)) {