\ No newline at end of file
diff --git a/templates/chat/history.html b/templates/chat/history.html
index 0c367e4..607aade 100644
--- a/templates/chat/history.html
+++ b/templates/chat/history.html
@@ -1,4 +1,4 @@
-
+
{% for message in history %}
{% if message.role == "AI" %}
@@ -31,11 +31,24 @@
}
});
- // Also scroll when page loads
window.addEventListener('load', function () {
const chatContainer = document.getElementById('chat_container');
if (chatContainer) {
chatContainer.scrollTop = chatContainer.scrollHeight;
}
});
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/templates/chat/new_message_form.html b/templates/chat/new_message_form.html
index 226d117..1f514d5 100644
--- a/templates/chat/new_message_form.html
+++ b/templates/chat/new_message_form.html
@@ -1,4 +1,4 @@
-