fix: update toast messages for clarity in chat session notifications

This commit is contained in:
ecwu
2025-01-20 14:54:08 +00:00
parent 0af9230c6e
commit 02935d7a0f

View File

@@ -135,12 +135,12 @@ export function App() {
// if the chatStore is not found, we need to override the endpoint // if the chatStore is not found, we need to override the endpoint
// with the default one // with the default one
toast({ toast({
title: "New chat session created", title: "New chat created",
description: `API Endpoint: ${ret.apiEndpoint}`, description: `API Endpoint: ${ret.apiEndpoint}`,
}); });
} else { } else {
toast({ toast({
title: "Chat history loaded", title: "Chat ready",
description: `Current API Endpoint: ${ret.apiEndpoint}`, description: `Current API Endpoint: ${ret.apiEndpoint}`,
}); });
} }
@@ -157,7 +157,7 @@ export function App() {
setSelectedChatIndex(newKey as number); setSelectedChatIndex(newKey as number);
setAllChatStoreIndexes(await (await db).getAllKeys(STORAGE_NAME)); setAllChatStoreIndexes(await (await db).getAllKeys(STORAGE_NAME));
toast({ toast({
title: "New chat session created", title: "New chat created",
description: `Current API Endpoint: ${chatStore.apiEndpoint}`, description: `Current API Endpoint: ${chatStore.apiEndpoint}`,
}); });
}; };