mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user