Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:sparkles: AI Agent https://github.com/siyuan-note/siyuan/issues/17797

Danieladd0a50b2081
diff --git a/app/src/layout/dock/AgentChat.ts b/app/src/layout/dock/AgentChat.ts
index 2e3155a31e..8f629a6f5f 100644
--- a/app/src/layout/dock/AgentChat.ts
+++ b/app/src/layout/dock/AgentChat.ts
@@ -5,6 +5,7 @@ import {fetchAgentSSE, ISSEResult} from "../../util/agentSSE";
import {mountComposer} from "./AgentComposer";
import {AgentSession, SessionStore} from "./SessionStore";
import {getDockByType} from "../tabUtil";
+import {updateHotkeyAfterTip} from "../../protyle/util/compatibility";
interface IAgentMessage {
role: "user" | "assistant";
@@ -70,7 +71,7 @@ export class AgentChat extends Model {
'<svg><use xlink:href="#iconMore"></use></svg>' +
"</span>" +
'<span class="fn__space"></span>' +
- '<span data-type="min" class="block__icon ariaLabel" data-position="north" aria-label="' + (window.siyuan.languages.min || "Minimize") + '">' +
+ '<span data-type="min" class="block__icon ariaLabel" data-position="north" aria-label="' + window.siyuan.languages.min + updateHotkeyAfterTip(window.siyuan.config.keymap.general.closeTab.custom) + '">' +
'<svg><use xlink:href="#iconMin"></use></svg>' +
"</span>" +
"</div>" +