Fix default states for the model selector

This commit is contained in:
sabaimran
2025-01-20 10:18:09 -08:00
parent 98baa93a31
commit d7800812ad
4 changed files with 11 additions and 5 deletions

View File

@@ -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;
}