From 9dc75f30020e177fb6aa48c0105803039b9d315b Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 12 Nov 2023 10:46:37 -0800 Subject: [PATCH] fix: chat history model load --- src/routes/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 576a7ef7..7763ce72 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -372,7 +372,7 @@ history = _history; } - if ('models' in chat) { + if ('models' in chat && chat.models !== undefined) { selectedModels = chat.models ?? selectedModels; } else { selectedModels = [chat.model ?? ''];