1
0
forked from Leaf/amber-ui

改进 自动助理创建

This commit is contained in:
Twilight 2024-09-24 16:19:09 +08:00
parent 9a58b22be7
commit ee3aff6e73

View File

@ -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;