From d786ed56c98e9b0fd4c8af111e1c95d4e00c7789 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 12 Oct 2026 11:16:56 +0400 Subject: [PATCH] refac --- src/lib/components/admin/Settings/Integrations.svelte | 2 +- src/lib/components/playground/Chat.svelte | 5 +++-- src/lib/components/workspace/Models/VoiceAvatarEditor.svelte | 3 ++- src/lib/components/workspace/Skills.svelte | 3 ++- src/lib/components/workspace/Skills/SkillEditor.svelte | 3 ++- src/lib/components/workspace/Skills/SkillFiles.svelte | 3 ++- src/lib/utils/realtime.ts | 3 ++- 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/lib/components/admin/Settings/Integrations.svelte b/src/lib/components/admin/Settings/Integrations.svelte index 131c7ab392..e094baaf60 100644 --- a/src/lib/components/admin/Settings/Integrations.svelte +++ b/src/lib/components/admin/Settings/Integrations.svelte @@ -119,7 +119,7 @@ const addTerminalConnection = (server: TerminalConnection) => { terminalConnections = [ ...terminalConnections, - { ...server, id: server.id ?? crypto.randomUUID?.() ?? uuidv4() } + { ...server, id: server.id ?? uuidv4() } ]; saveTerminalServers(); }; diff --git a/src/lib/components/playground/Chat.svelte b/src/lib/components/playground/Chat.svelte index 3b0a73d3de..44d7211386 100644 --- a/src/lib/components/playground/Chat.svelte +++ b/src/lib/components/playground/Chat.svelte @@ -1,4 +1,5 @@