Remove legacy field

This commit is contained in:
kwaroran
2024-04-25 00:30:09 +09:00
parent 413ccc6bfc
commit 3e5b922c8b
3 changed files with 3 additions and 6 deletions

View File

@@ -1189,7 +1189,7 @@ export function setPreset(db:Database, newPres: botPreset){
}
db.top_p = newPres.top_p ?? 1
//@ts-ignore //for legacy mistpings
db.promptSettings = cloneDeep(newPres.promptSettings) ?? cloneDeep(newPres.proomptSettings) ?? {
db.promptSettings = cloneDeep(newPres.promptSettings) ?? {
assistantPrefill: '',
postEndInnerFormat: '',
sendChatAsSystem: false,