diff --git a/mzta-background.js b/mzta-background.js index e7d2e3ac..d433581a 100644 --- a/mzta-background.js +++ b/mzta-background.js @@ -1029,9 +1029,9 @@ async function summarizeEmails(messages) { // we have three prompts, the actual assignment for the LLM, the email // template prompt, and the email separator prompt const specialPrompts = await getSpecialPrompts(); - const prompt = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_full_text'); - const prompt_email = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_email_template_full_text'); - const prompt_email_separator = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_email_separator_full_text'); + const prompt = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize'); + const prompt_email = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_email_template'); + const prompt_email_separator = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_email_separator'); const tabs = await browser.tabs.query({ active: true, currentWindow: true }); const chatgpt_lang = await taPromptUtils.getDefaultLang(prompt);