perf: Assistant new chat

This commit is contained in:
fit2cloud-chenyw
2025-07-26 21:51:52 +08:00
parent f34556b35b
commit 09b54e4119
+1 -1
View File
@@ -560,7 +560,7 @@ const sendMessage = async () => {
loading.value = true
isTyping.value = true
assistantPrepareSend()
await assistantPrepareSend()
const currentRecord = new ChatRecord()
currentRecord.create_time = new Date()
currentRecord.chat_id = currentChatId.value