This commit is contained in:
Timothy J. Baek 2024-10-24 02:35:17 -07:00
parent a4f29e1e55
commit 587dab23f0

View File

@ -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) => {