feat: Add context menu options for summarizing, rephrasing, translating, and explaining text selections in background.ts

This commit is contained in:
n4ze3m
2024-08-04 18:40:48 +05:30
parent 36fc8b6be1
commit 48a4af50ee
2 changed files with 56 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ Ensure that your rephrased version conveys the same information and intent as th
Response:`
const DEFAULT_TRANSLATE_PROMPT = `Translate the following text from its original language into "english"0. Maintain the tone and style of the original text as much as possible:
const DEFAULT_TRANSLATE_PROMPT = `Translate the following text from its original language into "english". Maintain the tone and style of the original text as much as possible:
Text:
---------