forked from XiaoMo/ChatGPT-Next-Web
fix: hot fix for data migration
This commit is contained in:
parent
f78a27491a
commit
6419ce345f
@ -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: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user