feat: Add HypaMemory V2 and SupaMemory descriptions and add hypav2 settings

This commit is contained in:
kwaroran
2024-05-27 12:30:07 +09:00
parent 584643ac87
commit 4ad59fa69c
4 changed files with 30 additions and 7 deletions

View File

@@ -403,6 +403,8 @@ export function setDatabase(data:Database){
data.customPromptTemplateToggle ??= ''
data.globalChatVariables ??= {}
data.templateDefaultVariables ??= ''
data.hypaAllocatedTokens ??= 3000
data.hypaChunkSize ??= 3000
changeLanguage(data.language)
DataBase.set(data)
@@ -663,6 +665,8 @@ export interface Database{
customPromptTemplateToggle:string
globalChatVariables:{[key:string]:string}
templateDefaultVariables:string
hypaAllocatedTokens:number
hypaChunkSize:number
}
export interface customscript{