1
0
Fork 0
mirror of https://github.com/khoj-ai/khoj.git synced 2024-12-29 07:38:09 +00:00

Add an icon in the input bar for research mode

This commit is contained in:
sabaimran 2024-12-10 17:49:25 -08:00
parent 01d000e570
commit d7e5a76ace

View file

@ -51,6 +51,7 @@ import {
FilePdf,
FileMd,
MicrosoftWordLogo,
Microscope,
} from "@phosphor-icons/react";
import { OrgMode } from "@/app/components/logo/fileLogo";
@ -219,6 +220,10 @@ export function getIconForSlashCommand(command: string, customClassName: string
return <Code className={className} />;
}
if (command.includes("research")) {
return <Microscope className={className} />;
}
return <ArrowRight className={className} />;
}