fix prompt names
This commit is contained in:
parent
cb6c93625b
commit
7202b5a3e2
1 changed files with 3 additions and 3 deletions
|
|
@ -1029,9 +1029,9 @@ async function summarizeEmails(messages) {
|
||||||
// we have three prompts, the actual assignment for the LLM, the email
|
// we have three prompts, the actual assignment for the LLM, the email
|
||||||
// template prompt, and the email separator prompt
|
// template prompt, and the email separator prompt
|
||||||
const specialPrompts = await getSpecialPrompts();
|
const specialPrompts = await getSpecialPrompts();
|
||||||
const prompt = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_full_text');
|
const prompt = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize');
|
||||||
const prompt_email = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_email_template_full_text');
|
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_full_text');
|
const prompt_email_separator = specialPrompts.find((prompt) => prompt.id === 'prompt_summarize_email_separator');
|
||||||
|
|
||||||
const tabs = await browser.tabs.query({ active: true, currentWindow: true });
|
const tabs = await browser.tabs.query({ active: true, currentWindow: true });
|
||||||
const chatgpt_lang = await taPromptUtils.getDefaultLang(prompt);
|
const chatgpt_lang = await taPromptUtils.getDefaultLang(prompt);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue