feature/zoujing #4

Open
zoujing wants to merge 15 commits from feature/zoujing into main
Showing only changes of commit bdb685b4ec - Show all commits

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