refactor: few hypa potential issues/bad prompt

This commit is contained in:
LightningHyperBlaze45654
2024-09-25 21:19:54 -07:00
parent f8d62f8772
commit a8d52decd0
2 changed files with 5 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ async function summary(stringlizedChat: string): Promise<{ success: boolean; dat
}
const supaPrompt = db.supaMemoryPrompt === '' ?
"[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"
"[Summarize the ongoing role story, It must also remove redundancy and unnecessary text and content from the output.]\n"
: db.supaMemoryPrompt;
let result = '';