mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add reset prompt support for enhance definitions
This commit is contained in:
@ -170,7 +170,8 @@ function PromptManagerModule() {
|
||||
defaultPrompts: {
|
||||
main: '',
|
||||
nsfw: '',
|
||||
jailbreak: ''
|
||||
jailbreak: '',
|
||||
enhanceDefinitions: ''
|
||||
},
|
||||
};
|
||||
|
||||
@ -310,6 +311,9 @@ PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSetti
|
||||
case 'jailbreak':
|
||||
prompt.content = this.configuration.defaultPrompts.jailbreak;
|
||||
break;
|
||||
case 'enhanceDefinitions':
|
||||
prompt.content = this.configuration.defaultPrompts.enhanceDefinitions;
|
||||
break;
|
||||
}
|
||||
|
||||
document.getElementById(this.configuration.prefix + 'prompt_manager_popup_entry_form_prompt').value = prompt.content;
|
||||
|
Reference in New Issue
Block a user