|
@@ -265,7 +265,7 @@
|
|
|
hljs.highlightBlock(block);
|
|
|
});
|
|
|
$("#agent-message-"+agentMessageId).html(marked.parse(systemMessage).replaceAll("<", "<").replaceAll(">", ">"));
|
|
|
- refreshChatMessContainerScrollBar2Bottom();
|
|
|
+ refreshChatMessRagContainerScrollBar2Bottom();
|
|
|
}
|
|
|
};
|
|
|
eventSource.onerror = function(e){
|
|
@@ -332,7 +332,7 @@
|
|
|
" <div style=\"clear: both\"></div>\n" +
|
|
|
" </div>";
|
|
|
$("#rag-chat-message-container").append(item);
|
|
|
- refreshChatMessContainerScrollBar2Bottom();
|
|
|
+ refreshChatMessRagContainerScrollBar2Bottom();
|
|
|
}
|
|
|
|
|
|
function createRobotChatItem(messageItemId) {
|
|
@@ -344,10 +344,10 @@
|
|
|
" <div style=\"clear: both\"></div>\n" +
|
|
|
" </div>";
|
|
|
$("#rag-chat-message-container").append(item);
|
|
|
- refreshChatMessContainerScrollBar2Bottom();
|
|
|
+ refreshChatMessRagContainerScrollBar2Bottom();
|
|
|
}
|
|
|
|
|
|
- function refreshChatMessContainerScrollBar2Bottom() {
|
|
|
+ function refreshChatMessRagContainerScrollBar2Bottom() {
|
|
|
$("#rag-chat-message-container").scrollTop($("#rag-chat-message-container")[0].scrollHeight);
|
|
|
}
|
|
|
</script>
|