chore: update 1 file(s)
This commit is contained in:
10
index.html
10
index.html
@@ -961,6 +961,11 @@ async function handleNonStreamingResponse(userMessage) {
|
|||||||
userInput.focus()
|
userInput.focus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function loadChatHistory() {
|
||||||
|
chatHistory.forEach(message => {
|
||||||
|
addMessage(message.role, message.content, message.markdown, message.messageId);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Stop current stream
|
// Stop current stream
|
||||||
function stopStream() {
|
function stopStream() {
|
||||||
@@ -1042,8 +1047,3 @@ I now support **real-time streaming responses** and **dark, readable text format
|
|||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
function loadChatHistory() {
|
|
||||||
chatHistory.forEach(message => {
|
|
||||||
addMessage(message.role, message.content, message.markdown, message.messageId);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user