From b4e5cfe797bca90cc16b50353a6e994c741ea798 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 31 Dec 2024 15:21:36 +0200 Subject: [PATCH] Reset prompt role to unset --- public/scripts/PromptManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/PromptManager.js b/public/scripts/PromptManager.js index bdcc827f1..a4b2314aa 100644 --- a/public/scripts/PromptManager.js +++ b/public/scripts/PromptManager.js @@ -430,7 +430,7 @@ class PromptManager { } document.getElementById(this.configuration.prefix + 'prompt_manager_popup_entry_form_name').value = prompt.name; - document.getElementById(this.configuration.prefix + 'prompt_manager_popup_entry_form_role').value = 'system'; + document.getElementById(this.configuration.prefix + 'prompt_manager_popup_entry_form_role').value = ''; document.getElementById(this.configuration.prefix + 'prompt_manager_popup_entry_form_prompt').value = prompt.content ?? ''; document.getElementById(this.configuration.prefix + 'prompt_manager_popup_entry_form_injection_position').value = prompt.injection_position ?? 0; document.getElementById(this.configuration.prefix + 'prompt_manager_popup_entry_form_injection_depth').value = prompt.injection_depth ?? DEFAULT_DEPTH;