From e2e35ec286e625793dcde027b14e9d357bed5645 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 10 Jun 2026 13:09:23 +0800 Subject: [PATCH] :sparkles: AI Agent https://github.com/siyuan-note/siyuan/issues/17797 Signed-off-by: Daniel <845765@qq.com> --- app/src/util/agentSSE.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/util/agentSSE.ts b/app/src/util/agentSSE.ts index 7b10649e7..230cfa9a1 100644 --- a/app/src/util/agentSSE.ts +++ b/app/src/util/agentSSE.ts @@ -130,7 +130,7 @@ export async function fetchAgentSSE( } catch (err) { const e = err as Error; if (e.name !== "AbortError") { - onError(e); + onError(new Error(window.siyuan.languages._kernel[28])); } } }