mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac: o1 title generation issue
This commit is contained in:
parent
bd28e1ed7d
commit
840437e58f
1 changed files with 1 additions and 1 deletions
|
|
@ -1976,7 +1976,7 @@
|
|||
}
|
||||
);
|
||||
|
||||
return title;
|
||||
return title ? title : (lastUserMessage?.content ?? 'New Chat');
|
||||
} else {
|
||||
return lastUserMessage?.content ?? 'New Chat';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue