"src/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "66677498bf10a0a4c57a604bab1c73387f981636"
Commit 1f66bbba authored by Brandon Hulston's avatar Brandon Hulston
Browse files

Better solution to handle edge cases

parent 81bfb97c
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
await chatId.set('local'); await chatId.set('local');
} }
await tick(); 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 // If model is not saved in DB, then save selectedmodel when message is sent
chat = await updateChatById(localStorage.token, $chatId, { 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