[feat] ask removal option

This commit is contained in:
kwaroran
2023-05-23 08:46:21 +09:00
parent 51a90f9aa4
commit 8827698b3a
5 changed files with 14 additions and 3 deletions

View File

@@ -199,6 +199,9 @@ export function setDatabase(data:Database){
if(checkNullish(data.supaMemoryType)){
data.supaMemoryType = "none"
}
if(checkNullish(data.askRemoval)){
data.askRemoval = true
}
if(checkNullish(data.sdConfig)){
data.sdConfig = {
width:512,
@@ -353,6 +356,7 @@ export interface Database{
jailbreak: string
globalNote:string
temperature: number
askRemoval:boolean
maxContext: number
maxResponse: number
frequencyPenalty: number