fix: hot fix for data migration

This commit is contained in:
Yidadaa 2023-04-28 01:54:57 +08:00
parent f78a27491a
commit 6419ce345f

View File

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