From 7202b5a3e29e11839722a6fd6a4bff8065d0b30a Mon Sep 17 00:00:00 2001 From: Guido Kraemer Date: Fri, 16 Jan 2026 14:21:35 +0100 Subject: [PATCH] fix prompt names --- mzta-background.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);