Use default values, delete content config on disable and update state

This commit is contained in:
Debanjum Singh Solanky
2023-07-07 20:35:32 -07:00
parent 362063f5fe
commit 0a86220d42
5 changed files with 26 additions and 12 deletions

View File

@@ -138,7 +138,6 @@ export class KhojChatModal extends Modal {
return `${time_string}, ${date_string}`;
}
async getChatHistory(): Promise<void> {
// Get chat history from Khoj backend
let chatUrl = `${this.setting.khojUrl}/api/chat/init?client=obsidian`;