diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index e8f1d8162..051ae306b 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1903,7 +1903,7 @@ const generateChatTitle = async (messages) => { if ($settings?.title?.auto ?? true) { const lastMessage = messages.at(-1); - const modelId = electedModels[0]; + const modelId = selectedModels[0]; const title = await generateTitle(localStorage.token, modelId, messages, $chatId).catch( (error) => { @@ -1942,7 +1942,7 @@ } const lastMessage = messages.at(-1); - const modelId = electedModels[0]; + const modelId = selectedModels[0]; let generatedTags = await generateTags(localStorage.token, modelId, messages, $chatId).catch( (error) => {