#1020 Fix summarize + prompt manager. Clarify naming for insertion position.
This commit is contained in:
parent
794abfcd6f
commit
12f1cdb3fd
|
@ -4121,7 +4121,7 @@
|
|||
<div class="floating_prompt_radio_group">
|
||||
<label>
|
||||
<input type="radio" name="extension_floating_position" value="0" />
|
||||
After scenario
|
||||
After Main Prompt / Story String
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" name="extension_floating_position" value="1" />
|
||||
|
@ -4189,7 +4189,7 @@
|
|||
<div class="floating_prompt_radio_group">
|
||||
<label>
|
||||
<input type="radio" name="extension_default_position" value="0" />
|
||||
After scenario
|
||||
After Main Prompt / Story String
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" name="extension_default_position" value="1" />
|
||||
|
|
|
@ -373,6 +373,9 @@ const system_message_types = {
|
|||
};
|
||||
|
||||
const extension_prompt_types = {
|
||||
/**
|
||||
* @deprecated Outdated term. In reality it's "after main prompt or story string"
|
||||
*/
|
||||
AFTER_SCENARIO: 0,
|
||||
IN_CHAT: 1
|
||||
};
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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'
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue