feat: support prompt templates
This commit is contained in:
parent
7c405e2e0d
commit
5ecd7c81ac
9 changed files with 156 additions and 29 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue