aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workers/openaiWorker.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-01-12 15:31:30 +0000
committerMohamed Bassem <me@mbassem.com>2025-01-12 15:31:30 +0000
commitb8bd7d7eb27aaaadae728599f64a0874f66196ea (patch)
treed2b9ac7f4324ffe7e1659a7e509635c74c9a1c57 /apps/workers/openaiWorker.ts
parent1ec21b67df64992bf472fc17bc3842369aa313a7 (diff)
downloadkarakeep-b8bd7d7eb27aaaadae728599f64a0874f66196ea.tar.zst
feat: Support customizing the summarization prompt. Fixes #731
Diffstat (limited to 'apps/workers/openaiWorker.ts')
-rw-r--r--apps/workers/openaiWorker.ts2
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,