From 61503a654cf3312f25247aad479214982cb144e9 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 22 Aug 2024 17:17:32 +0200 Subject: [PATCH] enh: `call=true` url search param --- src/lib/components/chat/Chat.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 31a076b7e..efd068430 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -311,6 +311,10 @@ } } + if ($page.url.searchParams.get('call') === 'true') { + showCallOverlay.set(true); + } + selectedModels = selectedModels.map((modelId) => $models.map((m) => m.id).includes(modelId) ? modelId : '' );