From ca195097d7b20bc620301adb9d70d1f0161f2d11 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Mon, 31 Jul 2023 17:46:09 -0700 Subject: [PATCH] Update chat hint message at first run --- src/khoj/interface/web/chat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index cbdfefe9..59ad7a35 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -136,7 +136,7 @@ .then(data => { if (data.detail) { // If the server returns a 500 error with detail, render a setup hint. - renderMessage("Hi 👋🏾, to get started
1. Get your OpenAI API key
2. Save it in the Khoj chat settings
3. Click Configure on the Khoj settings page", "khoj"); + renderMessage("Hi 👋🏾, to get started you have two options:
  1. Use OpenAI:
    1. Get your OpenAI API key
    2. Save it in the Khoj chat settings
    3. Click Configure on the Khoj settings page
  2. Enable offline chat:
    1. Go to the Khoj settings page and enable offline chat
", "khoj"); // Disable chat input field and update placeholder text document.getElementById("chat-input").setAttribute("disabled", "disabled");