mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
Better solution to handle edge cases
This commit is contained in:
parent
81bfb97c91
commit
1f66bbba98
@ -200,7 +200,7 @@
|
||||
await chatId.set('local');
|
||||
}
|
||||
await tick();
|
||||
} else if (chat.chat["models"][0] == "") {
|
||||
} else if (chat.chat["models"] != selectedModels) {
|
||||
// If model is not saved in DB, then save selectedmodel when message is sent
|
||||
|
||||
chat = await updateChatById(localStorage.token, $chatId, {
|
||||
|
Loading…
Reference in New Issue
Block a user