mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 13:19:16 +00:00
Add better error handling for diagram output, and fix chat history construct
- Make the `clean_json` method more robust as well
This commit is contained in:
@@ -215,6 +215,10 @@ export function getIconForSlashCommand(command: string, customClassName: string
|
||||
return <PencilLine className={className} />;
|
||||
}
|
||||
|
||||
if (command.includes("code")) {
|
||||
return <Code className={className} />;
|
||||
}
|
||||
|
||||
return <ArrowRight className={className} />;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user