From 1233be791ebe2a9afcb711c7b2ff9fdb30f8dadf Mon Sep 17 00:00:00 2001 From: SuperDev Date: Fri, 26 Apr 2024 02:45:14 -0500 Subject: [PATCH] AAdd model picker, streaming, and redesign the UI as well as dependency updates. This commit introduces several new UI components including badge, form, select and tooltip. Additionally, it extends the ModalType in use-modal-store to include 'aimodel'. The global styling rules have also been updated to enhance layout and visual presentation. Also, modifications are made in Layout.tsx and package-lock.json for better functionality and proper dependency resolution. This also introduces streaming, allowing for longer responses, as well as choosing the model for the AI to use and even a full redesign! --- components/Message.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Message.tsx b/components/Message.tsx index 939e6e2..202d4da 100644 --- a/components/Message.tsx +++ b/components/Message.tsx @@ -28,7 +28,7 @@ const Message: React.FC = ({response, onClear}) => { toast({ title: "Error", description: "Unable to copy text", - variant: "failed", + variant: "destructive", }) console.error('Failed to copy text: ', err); }