feat: 更换会话id
This commit is contained in:
@@ -94,7 +94,7 @@ const inputMessage = ref("");
|
||||
const isSendingMessage = ref(false);
|
||||
|
||||
/// agentId 首页接口中获取
|
||||
const agentId = ref("1");
|
||||
const agentId = ref("1953462165250859010");
|
||||
/// 会话ID 历史数据接口中获取
|
||||
const conversationId = ref("");
|
||||
// 会话进行中标志
|
||||
@@ -605,6 +605,7 @@ const sendChat = async (message: string, isInstruct = false) => {
|
||||
pendingMap.delete(currentSessionMessageId);
|
||||
pendingTimeouts.delete(currentSessionMessageId);
|
||||
isSessionActive.value = false;
|
||||
isSendingMessage.value = false;
|
||||
setTimeoutScrollToBottom();
|
||||
}
|
||||
}, MESSAGE_TIMEOUT);
|
||||
|
||||
Reference in New Issue
Block a user