From 6419ce345f4d3a317227fe2197a34b9a6864afca Mon Sep 17 00:00:00 2001 From: Yidadaa Date: Fri, 28 Apr 2023 01:54:57 +0800 Subject: [PATCH] fix: hot fix for data migration --- app/store/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/chat.ts b/app/store/chat.ts index 5607052b8..ca8625a5f 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -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: [],