feat: support prompt templates

This commit is contained in:
Jordan Wages 2025-06-16 00:44:46 -05:00
commit 5ecd7c81ac
9 changed files with 156 additions and 29 deletions

View file

@ -14,7 +14,7 @@
console.log("[ai-filter] background.js loaded ready to classify");
(async () => {
try {
const store = await browser.storage.local.get(["endpoint"]);
const store = await browser.storage.local.get(["endpoint", "templateName", "customTemplate", "customSystemPrompt"]);
await browser.aiFilter.initConfig(store);
console.log("[ai-filter] configuration loaded", store);
try {