@@ -136,7 +137,13 @@
})
.then(response => response.json())
.then(data => {
- console.log('Success:', data);
+ if (data["status"] == "ok") {
+ document.getElementById("success").innerHTML = "✅ Successfully updated. Go to your settings to regenerate your index.";
+ document.getElementById("success").style.display = "block";
+ } else {
+ document.getElementById("success").innerHTML = "⚠️ Failed to update settings.";
+ document.getElementById("success").style.display = "block";
+ }
})
});
diff --git a/src/khoj/interface/web/processor_conversation_input.html b/src/khoj/interface/web/processor_conversation_input.html
index f8714659..fd499574 100644
--- a/src/khoj/interface/web/processor_conversation_input.html
+++ b/src/khoj/interface/web/processor_conversation_input.html
@@ -2,6 +2,7 @@
{% block content %}
Conversation
|