diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-12-22 16:59:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-22 14:59:04 +0000 |
| commit | 0bdba54ba24a14e7dc2cfab64084452756bccce7 (patch) | |
| tree | e7158eec50a462b58f1c25dbd9caf18d483e2e5e /apps/web/lib/clientConfig.tsx | |
| parent | ece68ed078be3f6d66b5dcd7de8ba9853d48be27 (diff) | |
| download | karakeep-0bdba54ba24a14e7dc2cfab64084452756bccce7.tar.zst | |
feat: Add user settings to disable auto tagging/summarization (#2275)
* feat: Add per-user settings to disable auto-tagging and auto-summarization
This commit adds user-level controls for AI features when they are enabled
on the server. Users can now toggle auto-tagging and auto-summarization
on/off from the AI Settings page.
Changes:
- Added autoTaggingEnabled and autoSummarizationEnabled fields to user table
- Updated user settings schemas and API endpoints to handle new fields
- Modified inference workers to check user preferences before processing
- Added toggle switches to AI Settings page (only visible when server has features enabled)
- Generated database migration for new fields
- Exposed enableAutoTagging and enableAutoSummarization in client config
The settings default to null (use server default). When explicitly set to false,
the user's bookmarks will skip the respective AI processing.
* revert migration
* i18n
---------
Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to 'apps/web/lib/clientConfig.tsx')
| -rw-r--r-- | apps/web/lib/clientConfig.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/lib/clientConfig.tsx b/apps/web/lib/clientConfig.tsx index 9331a7af..ab367be0 100644 --- a/apps/web/lib/clientConfig.tsx +++ b/apps/web/lib/clientConfig.tsx @@ -14,6 +14,8 @@ export const ClientConfigCtx = createContext<ClientConfig>({ inference: { isConfigured: false, inferredTagLang: "english", + enableAutoTagging: false, + enableAutoSummarization: false, }, serverVersion: undefined, disableNewReleaseCheck: true, |
