mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 13:19:16 +00:00
Fix error message rendering in khoj.el, khoj obsidian chat
- Fix failed to index error message in khoj.el - Fix chat model not configured message in khoj obsidian chat
This commit is contained in:
@@ -245,7 +245,7 @@ export class KhojChatModal extends Modal {
|
||||
if (responseJson.detail) {
|
||||
// If the server returns error details in response, render a setup hint.
|
||||
let setupMsg = "Hi 👋🏾, to start chatting add available chat models options via [the Django Admin panel](/server/admin) on the Server";
|
||||
this.renderMessage(chatBodyEl, setupMsg, "khoj", undefined, true);
|
||||
this.renderMessage(chatBodyEl, setupMsg, "khoj", undefined);
|
||||
|
||||
return false;
|
||||
} else if (responseJson.response) {
|
||||
|
||||
Reference in New Issue
Block a user