diff --git a/app/src/assets/scss/business/_agentComposer.scss b/app/src/assets/scss/business/_agentComposer.scss index 1adb40046..6cacfaf27 100644 --- a/app/src/assets/scss/business/_agentComposer.scss +++ b/app/src/assets/scss/business/_agentComposer.scss @@ -2,7 +2,7 @@ outline: none; font-size: 14px; line-height: 1.6; - color: var(--b3-theme-on-surface); + color: var(--b3-theme-on-background); min-height: 24px; max-height: 120px; overflow-y: auto; diff --git a/app/src/layout/dock/AgentChat.ts b/app/src/layout/dock/AgentChat.ts index 2c6bcebbf..f53cbf569 100644 --- a/app/src/layout/dock/AgentChat.ts +++ b/app/src/layout/dock/AgentChat.ts @@ -2014,6 +2014,13 @@ export class AgentChat extends Model { this.addCopyButton(el, undefined, ts); this.scrollToBottom(true); } + // 流式结束:移除普通 AI 消息的 streaming 状态。 + if (this.currentAIElement) { + const bodyEl = this.currentAIElement.querySelector(".agent-chat__body") as HTMLElement; + if (bodyEl) { + bodyEl.classList.remove("agent-chat__body--streaming"); + } + } this.flushThinkingStep(); if (this.pendingConfirms.length > 0) { for (const c of this.pendingConfirms) {