Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

Make sure the user has an AI tagging method set

Isaacebbc23f58110
diff --git a/lib/api/archiveHandler.ts b/lib/api/archiveHandler.ts
index b9666c29..922b4f4e 100644
--- a/lib/api/archiveHandler.ts
+++ b/lib/api/archiveHandler.ts
@@ -149,6 +149,7 @@ export default async function archiveHandler(
// Auto-tagging
if (
archivalSettings.aiTag &&
+ user.aiTaggingMethod !== AiTaggingMethod.DISABLED &&
!link.aiTagged &&
(process.env.NEXT_PUBLIC_OLLAMA_ENDPOINT_URL ||
process.env.OPENAI_API_KEY ||