diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-01-12 15:31:30 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-01-12 15:31:30 +0000 |
| commit | b8bd7d7eb27aaaadae728599f64a0874f66196ea (patch) | |
| tree | d2b9ac7f4324ffe7e1659a7e509635c74c9a1c57 /apps/workers | |
| parent | 1ec21b67df64992bf472fc17bc3842369aa313a7 (diff) | |
| download | karakeep-b8bd7d7eb27aaaadae728599f64a0874f66196ea.tar.zst | |
feat: Support customizing the summarization prompt. Fixes #731
Diffstat (limited to 'apps/workers')
| -rw-r--r-- | apps/workers/openaiWorker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workers/openaiWorker.ts b/apps/workers/openaiWorker.ts index bad06bb3..704a6c04 100644 --- a/apps/workers/openaiWorker.ts +++ b/apps/workers/openaiWorker.ts @@ -172,7 +172,7 @@ async function fetchCustomPrompts( const prompts = await db.query.customPrompts.findMany({ where: and( eq(customPrompts.userId, userId), - inArray(customPrompts.appliesTo, ["all", appliesTo]), + inArray(customPrompts.appliesTo, ["all_tagging", appliesTo]), ), columns: { text: true, |
