Browse Source

fix: hot fix for data migration

Yidadaa 1 year ago
parent
commit
6419ce345f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/store/chat.ts

+ 1 - 1
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: [],