diff --git a/web/hooks/useActiveModel.ts b/web/hooks/useActiveModel.ts index 3496f8396..57e3a0118 100644 --- a/web/hooks/useActiveModel.ts +++ b/web/hooks/useActiveModel.ts @@ -33,7 +33,10 @@ export function useActiveModel() { const model = downloadedModels.find((e) => e.id === modelId) if (!model) { - alert(`Model ${modelId} not found! Please re-download the model first.`) + toaster({ + title: `Model ${modelId} not found!`, + description: `Please download the model first.`, + }) setStateModel(() => ({ state: 'start', loading: false, diff --git a/web/hooks/useDeleteConversation.ts b/web/hooks/useDeleteConversation.ts index 36ae2a789..4b2aa9859 100644 --- a/web/hooks/useDeleteConversation.ts +++ b/web/hooks/useDeleteConversation.ts @@ -41,8 +41,8 @@ export default function useDeleteConversation() { deleteMessages(activeConvoId) setCurrentPrompt('') toaster({ - title: 'Succes delete a chat', - description: `Delete chat with ${activeModel?.name} has been completed`, + title: 'Chat successfully deleted.', + description: `Chat with ${activeModel?.name} has been successfully deleted.`, }) if (currentConversations.length > 0) { setActiveConvoId(currentConversations[0].id)