From fa4081d669dc7bafa0d879897a28392a5173c2a4 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Wed, 22 May 2024 11:08:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91AI=20stream?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=9A=84?= =?UTF-8?q?=E4=B8=B4=E6=97=B6role=20=E5=A4=B4=E5=83=8F=E5=AF=B9=E4=B8=8D?= =?UTF-8?q?=E4=B8=8A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/chat/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ai/chat/index.vue b/src/views/ai/chat/index.vue index 2f16a23f..67f77d94 100644 --- a/src/views/ai/chat/index.vue +++ b/src/views/ai/chat/index.vue @@ -312,7 +312,7 @@ const doSendStream = async (userMessage: ChatMessageVO) => { conversationId: activeConversationId.value, type: 'system', content: '思考中...', - roleAvatar: defaultRoleAvatar, + roleAvatar: (activeConversation.value as ChatConversationVO).roleAvatar, createTime: new Date() } as ChatMessageVO) // 滚动到最下面