An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:recycle: https://github.com/siyuan-note/siyuan/pull/17572
Vanessa265c24198599
diff --git a/app/src/util/fetch.ts b/app/src/util/fetch.tsindex 4570ad1d17..29a4a44ec9 100644--- a/app/src/util/fetch.ts+++ b/app/src/util/fetch.ts@@ -11,10 +11,9 @@ export const fetchPost = (cb?: (response: IWebSocketData) => void,headers?: IObject,failCallback?: (response: IWebSocketData) => void,- abortSignal?: AbortSignal) => {+ signal?: AbortSignal) => {const init: RequestInit = {method: "POST",- signal: abortSignal,};if (data) {if (["/api/search/searchRefBlock", "/api/graph/getGraph", "/api/graph/getLocalGraph",@@ -39,6 +38,9 @@ export const fetchPost = (if (headers) {init.headers = headers;}+ if (signal) {+ init.signal = signal;+ }let isGetFile202 = false;fetch(url, init).then((response) => {switch (response.status) {