Update chat_view.ts

fixed Typo
This commit is contained in:
Fh26697
2025-08-20 17:01:47 +02:00
committed by GitHub
parent b3015f6837
commit a2a3eb8be6

View File

@@ -981,7 +981,7 @@ export class KhojChatView extends KhojPaneView {
this.currentAgent = agentSlug || null;
// Update agent selector to reflect current agent
const agentSelect = this.contentEl.querySelector('.khoj-agent-select') as HTMLSelectElement;
const agentSelect = this.contentEl.querySelector('.khoj-header-agent-select') as HTMLSelectElement;
if (agentSelect) {
agentSelect.value = this.currentAgent || '';
}