mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Scroll down when a message is added in the chat interface's handle stream response method
This commit is contained in:
parent
70ad78990a
commit
d84188b221
1 changed files with 1 additions and 0 deletions
|
@ -558,6 +558,7 @@ To get started, just start typing below. You can also type / to see a list of co
|
|||
newResponseElement.innerHTML = "";
|
||||
}
|
||||
newResponseElement.appendChild(formatHTMLMessage(rawResponse));
|
||||
document.getElementById("chat-body").scrollTop = document.getElementById("chat-body").scrollHeight;
|
||||
}
|
||||
|
||||
function handleCompiledReferences(rawResponseElement, chunk, references, rawResponse) {
|
||||
|
|
Loading…
Reference in a new issue