This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-08 20:43:20 +09:00
1 parent d67c707027
commit da841548da
1 file changed
+2 -1
+2 -1
View File
@@ -1,4 +1,5 @@
import { browser } from '$app/environment';
import { v4 as uuidv4 } from 'uuid';
import { writable } from 'svelte/store';
import { getChatView, updateChatView } from '$lib/apis/chats/view';
import { terminalRequest, type TerminalConnection } from '$lib/apis/terminal';
@@ -83,7 +84,7 @@ export function chatViewEntry(userId: string, chatId: string | null, temporary =
const existing = chatId && entries.get(key(userId, chatId));
if (existing) return existing;
const entry: Entry = {
instanceId: crypto.randomUUID(),
instanceId: uuidv4(),
userId,
chatId,
state: { schemaVersion: 1, selectedTerminalId: null, panels: emptyTabs() },