From edb557bdd3d967df7d6d16df91d4aa107443a9b3 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Wed, 17 Jun 2026 15:24:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(chat):=20=E4=BC=98=E5=8C=96=E5=9D=97?= =?UTF-8?q?=E5=B1=95=E5=BC=80/=E6=8A=98=E5=8F=A0=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E9=94=9A=E5=AE=9A=EF=BC=8C=E9=81=BF=E5=85=8D=20stick-to-bottom?= =?UTF-8?q?=20=E5=BC=B9=E7=B0=A7=E8=BF=BD=E5=BA=95=E9=A1=BF=E6=8C=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/src/components/chat/ChatArea.vue | 84 ++++++++ static/src/components/chat/MinimalBlocks.vue | 7 + static/src/components/chat/StackedBlocks.vue | 2 + .../components/chat/actions/ToolAction.vue | 2 + .../composables/useBlockExpansionAnchor.ts | 183 ++++++++++++++++++ 5 files changed, 278 insertions(+) create mode 100644 static/src/composables/useBlockExpansionAnchor.ts diff --git a/static/src/components/chat/ChatArea.vue b/static/src/components/chat/ChatArea.vue index 39a0994..ecb4077 100644 --- a/static/src/components/chat/ChatArea.vue +++ b/static/src/components/chat/ChatArea.vue @@ -108,6 +108,7 @@ :render-markdown="renderMarkdown" :register-thinking-ref="registerThinkingRef" :handle-thinking-scroll="props.handleThinkingScroll" + @group-toggle="handleMinimalGroupToggle" />