From ee3aff6e735d67a52d134caaf9b51bb57eb82e44 Mon Sep 17 00:00:00 2001 From: Twilight Date: Tue, 24 Sep 2024 16:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8A=A9=E7=90=86=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat/Chat.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index 77458e9..5a2d7a0 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -403,6 +403,8 @@ async function sendMessage( await getApi() .Chat.apiV1ChatsPost({ name: text.slice(0, 10), + // 如果没有指定,则使用目前选择的助理来创建聊天 + assistant_id: chatStore.currentAssistantId, }) .then(async (res) => { chatId.value = res.data.data?.id;