[feat] oai seed

This commit is contained in:
kwaroran
2023-11-07 05:21:56 +09:00
parent c5b4bf959a
commit 859db3ab2d
4 changed files with 15 additions and 2 deletions

View File

@@ -317,6 +317,7 @@ export function setDatabase(data:Database){
data.NAIsettings.mirostat_lr ??= 1
data.autofillRequestUrl ??= true
data.customProxyRequestModel ??= ''
data.generationSeed ??= -1
changeLanguage(data.language)
DataBase.set(data)
}
@@ -489,6 +490,7 @@ export interface Database{
localStopStrings?:string[]
autofillRequestUrl:boolean
customProxyRequestModel:string
generationSeed:number
}
export interface customscript{