mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Update chat_view.ts
fixed Typo
This commit is contained in:
@@ -1225,7 +1225,7 @@ export class KhojChatView extends KhojPaneView {
|
|||||||
console.log("Found agent in conversation history:", responseJson.response.agent);
|
console.log("Found agent in conversation history:", responseJson.response.agent);
|
||||||
this.currentAgent = responseJson.response.agent.slug;
|
this.currentAgent = responseJson.response.agent.slug;
|
||||||
// Update the agent selector if it exists
|
// Update the agent selector if it exists
|
||||||
const agentSelect = this.contentEl.querySelector('.khoj-agent-select') as HTMLSelectElement;
|
const agentSelect = this.contentEl.querySelector('.khoj-header-agent-select') as HTMLSelectElement;
|
||||||
if (agentSelect && this.currentAgent) {
|
if (agentSelect && this.currentAgent) {
|
||||||
agentSelect.value = this.currentAgent;
|
agentSelect.value = this.currentAgent;
|
||||||
console.log("Updated agent selector to:", this.currentAgent);
|
console.log("Updated agent selector to:", this.currentAgent);
|
||||||
|
|||||||
Reference in New Issue
Block a user