diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d4080c9c..3515a3b5 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1151,11 +1151,11 @@ "message": "If checked, the AI will only add tags to emails received in the inbox folder.", "description": "" }, - "prefs_OptionText_add_tags_use_specific_integration": { + "prefs_OptionText_use_specific_integration": { "message": "Use specific Model and API", "description": "" }, - "prefs_OptionText_add_tags_use_specific_integration_Info": { + "prefs_OptionText_use_specific_integration_Info": { "message": "If checked, the Model and API specified below will be used for adding tags to emails, regardless the one choosen in the ThunderAI options page.", "description": "" }, @@ -1211,6 +1211,14 @@ "message": "Spam Filter Options", "description": "" }, + "prefs_OptionText_spamfilter_use_specific_integration": { + "message": "Use specific Model and API", + "description": "" + }, + "prefs_OptionText_spamfilter_use_specific_integration_Info": { + "message": "If checked, the Model and API specified below will be used for the spam filter, regardless the one chosen in the ThunderAI options page.", + "description": "" + }, "prefs_OptionText_spamfilter_threshold": { "message": "Spam threshold", "description": "" @@ -1665,4 +1673,4 @@ "message": "To use this feature, you need an API integration rather than the ChatGPT Web Integration. You can define a specific API in the feature settings page by first checking the checkbox above and then clicking the button on the left.", "description": "" } -} \ No newline at end of file +} diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index cc28ecd6..de164daa 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -82,10 +82,10 @@ export const prefs_default = { spamfilter_context_menu: true, spamfilter_enabled_accounts: [], spamfilter_use_specific_integration: false, - spamfilter_connection_type: '', + spamfilter_connection_type: 'chatgpt_api', spamfilter_chatgpt_model: '', spamfilter_ollama_model: '', spamfilter_openai_comp_model: '', spamfilter_google_gemini_model: '', spamfilter_anthropic_model: '', -} \ No newline at end of file +} diff --git a/pages/spamfilter/mzta-spamfilter.html b/pages/spamfilter/mzta-spamfilter.html index 9c7b4fd3..0a3d8a21 100644 --- a/pages/spamfilter/mzta-spamfilter.html +++ b/pages/spamfilter/mzta-spamfilter.html @@ -4,6 +4,7 @@
| __MSG_prefs_OptionText_use_specific_integration__ + | ++ + | +
| __MSG_prefs_OptionText_spamfilter_threshold__ | @@ -74,4 +87,4 @@ - |