fix: update toast messages for clarity in chat session notifications
This commit is contained in:
@@ -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}`,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user