diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html
index 7d93c836..d5d55956 100644
--- a/src/khoj/interface/web/chat.html
+++ b/src/khoj/interface/web/chat.html
@@ -84,7 +84,6 @@
function readStream() {
reader.read().then(({ done, value }) => {
if (done) {
- console.log("Stream complete");
return;
}
@@ -99,8 +98,6 @@
new_response_text.innerHTML += polishedReference;
} else {
new_response_text.innerHTML += chunk;
- console.log(`Received ${chunk.length} bytes of data`);
- console.log(`Chunk: ${chunk}`);
document.getElementById("chat-body").scrollTop = document.getElementById("chat-body").scrollHeight;
readStream();
}
@@ -108,14 +105,6 @@
}
readStream();
});
-
-
- // fetch(url)
- // .then(data => {
- // // Render message by Khoj to chat body
- // console.log(data.response);
- // renderMessageWithReference(data.response, "khoj", data.context);
- // });
}
function incrementalChat(event) {
@@ -428,31 +417,33 @@