[feat] added memory limit line
This commit is contained in:
@@ -80,6 +80,9 @@ export function setDatabase(data:Database){
|
||||
if(checkNullish(data.language)){
|
||||
data.language = 'en'
|
||||
}
|
||||
if(checkNullish(data.swipe)){
|
||||
data.swipe = true
|
||||
}
|
||||
if(checkNullish(data.translator)){
|
||||
data.translator = ''
|
||||
}
|
||||
@@ -187,6 +190,9 @@ export function setDatabase(data:Database){
|
||||
if(checkNullish(data.supaMemoryPrompt)){
|
||||
data.supaMemoryPrompt = ''
|
||||
}
|
||||
if(checkNullish(data.showMemoryLimit)){
|
||||
data.showMemoryLimit = false
|
||||
}
|
||||
if(checkNullish(data.sdConfig)){
|
||||
data.sdConfig = {
|
||||
width:512,
|
||||
@@ -399,6 +405,7 @@ export interface Database{
|
||||
showUnrecommended:boolean
|
||||
elevenLabKey:string
|
||||
useExperimental:boolean
|
||||
showMemoryLimit:boolean
|
||||
}
|
||||
|
||||
|
||||
@@ -422,6 +429,7 @@ export interface Chat{
|
||||
localLore: loreBook[]
|
||||
sdData?:string
|
||||
supaMemoryData?:string
|
||||
lastMemory?:string
|
||||
}
|
||||
|
||||
export interface Message{
|
||||
|
||||
Reference in New Issue
Block a user