CC: Simplify default wrappers for personality and scenario

7f94cb4bee8ec093822b5415d5845163ba930cae

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +4 -4Showing whitespace changes
default/content/presets/openai/Default.json+2 -2
@@ -39,8 +39,8 @@
39 "proxy_password": "",39 "proxy_password": "",
40 "max_context_unlocked": false,40 "max_context_unlocked": false,
41 "wi_format": "{0}",41 "wi_format": "{0}",
42 "scenario_format": "[Circumstances and context of the dialogue: {{scenario}}]",42 "scenario_format": "{{scenario}}",
43 "personality_format": "[{{char}}'s personality: {{personality}}]",43 "personality_format": "{{personality}}",
44 "group_nudge_prompt": "[Write the next reply only as {{char}}.]",44 "group_nudge_prompt": "[Write the next reply only as {{char}}.]",
45 "stream_openai": true,45 "stream_openai": true,
46 "prompts": [46 "prompts": [
public/scripts/openai.js+2 -2
@@ -102,8 +102,8 @@ const default_new_group_chat_prompt = '[Start a new group chat. Group members: {
102const default_new_example_chat_prompt = '[Example Chat]';102const default_new_example_chat_prompt = '[Example Chat]';
103const default_continue_nudge_prompt = '[Continue the following message. Do not include ANY parts of the original message. Use capitalization and punctuation as if your reply is a part of the original message: {{lastChatMessage}}]';103const default_continue_nudge_prompt = '[Continue the following message. Do not include ANY parts of the original message. Use capitalization and punctuation as if your reply is a part of the original message: {{lastChatMessage}}]';
104const default_bias = 'Default (none)';104const default_bias = 'Default (none)';
105const default_personality_format = '[{{char}}\'s personality: {{personality}}]';105const default_personality_format = '{{personality}}';
106const default_scenario_format = '[Circumstances and context of the dialogue: {{scenario}}]';106const default_scenario_format = '{{scenario}}';
107const default_group_nudge_prompt = '[Write the next reply only as {{char}}.]';107const default_group_nudge_prompt = '[Write the next reply only as {{char}}.]';
108const default_bias_presets = {108const default_bias_presets = {
109 [default_bias]: [],109 [default_bias]: [],