mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 21:29:12 +00:00
Fix default states for the model selector
This commit is contained in:
@@ -282,7 +282,6 @@ export default function ChatHistory(props: ChatHistoryProps) {
|
||||
function constructAgentName() {
|
||||
if (!data || !data.agent || !data.agent?.name) return `Agent`;
|
||||
if (data.agent.is_hidden) return 'Khoj';
|
||||
console.log(data.agent);
|
||||
return data.agent?.name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user