feat: 更换会话id

This commit is contained in:
zoujing
2026-01-21 17:07:48 +08:00
parent b8cdf530fc
commit bdb685b4ec

View File

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