mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 05:39:11 +00:00
Clear result before render thinking placeholder emoji in Obsidian chat
This commit is contained in:
@@ -241,6 +241,7 @@ export class KhojChatModal extends Modal {
|
|||||||
let responseElement = this.createKhojResponseDiv();
|
let responseElement = this.createKhojResponseDiv();
|
||||||
|
|
||||||
// Temporary status message to indicate that Khoj is thinking
|
// Temporary status message to indicate that Khoj is thinking
|
||||||
|
this.result = "";
|
||||||
this.renderIncrementalMessage(responseElement, "🤔");
|
this.renderIncrementalMessage(responseElement, "🤔");
|
||||||
|
|
||||||
let response = await fetch(chatUrl, {
|
let response = await fetch(chatUrl, {
|
||||||
|
|||||||
Reference in New Issue
Block a user