[feat] better supamemory 2

This commit is contained in:
kwaroran
2023-06-07 09:47:27 +09:00
parent b211b256c2
commit 8829a90774

View File

@@ -78,7 +78,7 @@ export async function supaMemory(
async function summarize(stringlizedChat:string){
const supaPrompt = db.supaMemoryPrompt === '' ?
"[Summarize the ongoing role story, It must also remove redundancy and unnecessary content from the prompt so that gpt3 and other sublanguage models]\n"
"[Summarize the ongoing role story, It must also remove redundancy and unnecessary text and content from the output to reduce tokens for gpt3 and other sublanguage models]\n"
: db.supaMemoryPrompt
let result = ''