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 ?? ''];