mirror of
https://github.com/open-webui/open-webui
synced 2024-11-28 15:05:07 +00:00
fix
This commit is contained in:
parent
a4f29e1e55
commit
587dab23f0
@ -1903,7 +1903,7 @@
|
|||||||
const generateChatTitle = async (messages) => {
|
const generateChatTitle = async (messages) => {
|
||||||
if ($settings?.title?.auto ?? true) {
|
if ($settings?.title?.auto ?? true) {
|
||||||
const lastMessage = messages.at(-1);
|
const lastMessage = messages.at(-1);
|
||||||
const modelId = electedModels[0];
|
const modelId = selectedModels[0];
|
||||||
|
|
||||||
const title = await generateTitle(localStorage.token, modelId, messages, $chatId).catch(
|
const title = await generateTitle(localStorage.token, modelId, messages, $chatId).catch(
|
||||||
(error) => {
|
(error) => {
|
||||||
@ -1942,7 +1942,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const lastMessage = messages.at(-1);
|
const lastMessage = messages.at(-1);
|
||||||
const modelId = electedModels[0];
|
const modelId = selectedModels[0];
|
||||||
|
|
||||||
let generatedTags = await generateTags(localStorage.token, modelId, messages, $chatId).catch(
|
let generatedTags = await generateTags(localStorage.token, modelId, messages, $chatId).catch(
|
||||||
(error) => {
|
(error) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user