fix: hot fix for data migration

This commit is contained in:
Yidadaa 2023-04-28 01:54:57 +08:00
parent 282ca9fb89
commit eac392949f

View File

@ -63,7 +63,7 @@ export const BOT_HELLO: Message = createMessage({
function createEmptySession(): ChatSession {
return {
id: Date.now(),
id: Date.now() + Math.random(),
topic: DEFAULT_TOPIC,
memoryPrompt: "",
messages: [],