diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 576a7ef71..7763ce726 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 ?? ''];