From 44355a4bdc3d0a47cc4ffb7c74ddc3c5a19cc77a Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 22 Sep 2024 14:52:30 +0200 Subject: [PATCH] enh: 'model' url search param added --- src/lib/components/chat/Chat.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 6879d9689..5de4e7c7c 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -344,6 +344,8 @@ if ($page.url.searchParams.get('models')) { selectedModels = $page.url.searchParams.get('models')?.split(','); + } else if ($page.url.searchParams.get('model')) { + selectedModels = $page.url.searchParams.get('model')?.split(','); } else if ($settings?.models) { selectedModels = $settings?.models; } else if ($config?.default_models) {