Skip to content

Distribute and run LLMs with a single file.

Fix auto scroll issue in web gui

Justine Tunney81ed1cf017b6
diff --git a/llamafile/server/www/chatbot.js b/llamafile/server/www/chatbot.js
index da4a7ed8..7a534498 100644
--- a/llamafile/server/www/chatbot.js
+++ b/llamafile/server/www/chatbot.js
@@ -146,6 +146,7 @@ async function sendMessage() {
chatInput.value = "";
chatInput.disabled = true;
onChatInput();
+ disableAutoScroll = false;
sendButton.style.display = "none";
stopButton.style.display = "inline-block";
stopButton.focus();