Skip to content

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

:rotating_light:

Vanessa09c8a9387021
diff --git a/app/src/layout/dock/AgentChat.ts b/app/src/layout/dock/AgentChat.ts
index 5546dda695..58b211941d 100644
--- a/app/src/layout/dock/AgentChat.ts
+++ b/app/src/layout/dock/AgentChat.ts
@@ -1314,7 +1314,7 @@ export class AgentChat extends Model {
this.currentThinkingText = "";
this.currentThinkingReasoning = reasoning;
this.currentThinkingReasoningContent = "";
- let text = L.agentThinking || "Thinking";
+ const text = L.agentThinking || "Thinking";
this.currentThinkingText = text;
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 3a44e5f2e4..a3737280a9 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -2447,7 +2447,7 @@ export class WYSIWYG {
if (!blockElement) {
return;
}
- beforePaste(protyle, blockElement)
+ beforePaste(protyle, blockElement);
paste(protyle, event);
});