Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging

This commit is contained in:
Cohee
2023-08-25 20:34:33 +03:00
5 changed files with 25 additions and 16 deletions

View File

@@ -567,7 +567,7 @@ jQuery(function () {
<div class="radio_group">
<label>
<input type="radio" name="memory_position" value="0" />
After scenario
After Main Prompt / Story String
</label>
<label>
<input type="radio" name="memory_position" value="1" />

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'
});