Commit 1f66bbba authored by Brandon Hulston's avatar Brandon Hulston
Browse files

Better solution to handle edge cases

parent 81bfb97c
......@@ -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, {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment