#1020 Fix summarize + prompt manager. Clarify naming for insertion position.

This commit is contained in:
Cohee
2023-08-25 20:03:31 +03:00
parent 794abfcd6f
commit 12f1cdb3fd
4 changed files with 8 additions and 5 deletions

View File

@ -683,9 +683,9 @@ function preparePromptsForChatCompletion({Scenario, charPersonality, name2, worl
// Tavern Extras - Summary
const summary = extensionPrompts['1_memory'];
if (summary && summary.content) systemPrompts.push({
if (summary && summary.value) systemPrompts.push({
role: 'system',
content: summary.content,
content: summary.value,
identifier: 'summary'
});