chore: typo
This commit is contained in:
parent
e6a295ccad
commit
d27fa7962f
@ -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,
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user