diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 51583825..77fb453c 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1688,5 +1688,13 @@ "DeselectAll": { "message": "Deselect All", "description": "" + }, + "Anthropic_System_Prompt": { + "message": "System Prompt", + "description": "" + }, + "Anthropic_System_Prompt_Info": { + "message": "You can improve Claude performance by using a System Prompt to give it a role. This technique, known as role prompting, is the most powerful way to use system prompts with Claude. The right role can turn Claude from a general assistant into your virtual domain expert.", + "description": "" } } diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index 6efc2cfa..6405c1a0 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -50,6 +50,7 @@ export const prefs_default = { anthropic_model: '', anthropic_version: '2023-06-01', anthropic_max_tokens: 4096, + anthropic_system_prompt: '', dynamic_menu_force_enter: false, dynamic_menu_order_alphabet: true, placeholders_use_default_value: false, diff --git a/pages/_lib/connection-ui.js b/pages/_lib/connection-ui.js index 0042ad5c..22f24500 100644 --- a/pages/_lib/connection-ui.js +++ b/pages/_lib/connection-ui.js @@ -397,6 +397,19 @@ export async function injectConnectionUI({ + + + + + + + +