This commit is contained in:
Webifi 2023-05-28 16:25:10 -05:00
parent 7184d6663e
commit 0100e288e1
3 changed files with 5 additions and 6 deletions

View File

@ -10,7 +10,6 @@
clearMessages,
copyChat,
getChatSettingValueNullDefault,
setChatSettingValueByKey,
saveCustomProfile,
deleteCustomProfile,
setGlobalSettingValueByKey,
@ -508,9 +507,9 @@
showSettingsModal = 0
showProfileMenu = false
if (chat.startSession) {
chat.startSession = false
saveChatStore()
submitForm(false, true)
chat.startSession = false
saveChatStore()
submitForm(false, true)
}
}

View File

@ -78,7 +78,7 @@ const defaults:ChatSettings = {
useSystemPrompt: false,
systemPrompt: '',
autoStartSession: false,
trainingPrompts: [],
trainingPrompts: []
}
const excludeFromProfile = {

View File

@ -32,7 +32,7 @@
messages: [],
usage: {} as Record<Model, Usage>,
startSession: false,
sessionStarted: false,
sessionStarted: false
})
chatsStorage.set(chats)
// Apply defaults and prepare it to start