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