Add more warnings about privacy with remote models

This commit is contained in:
shamoon 2025-08-06 23:09:13 -04:00
parent 540539643c
commit 64ff422fef
No known key found for this signature in database
3 changed files with 9 additions and 0 deletions

View file

@ -38,6 +38,9 @@
@case (ConfigOptionType.Password) { <pngx-input-password [formControlName]="option.key" [error]="errors[option.key]"></pngx-input-password> }
}
</div>
@if (option.note) {
<div class="form-text fst-italic">{{option.note}}</div>
}
</div>
</div>
</div>

View file

@ -71,6 +71,7 @@ export interface ConfigOption {
choices?: Array<{ id: string; name: string }>
config_key?: string
category: string
note?: string
}
function mapToItems(enumObj: Object): Array<{ id: string; name: string }> {
@ -276,6 +277,7 @@ export const PaperlessConfigOptions: ConfigOption[] = [
type: ConfigOptionType.Boolean,
config_key: 'PAPERLESS_AI_ENABLED',
category: ConfigCategory.AI,
note: $localize`Consider privacy implications when enabling AI features, especially if using a remote model.`,
},
{
key: 'llm_embedding_backend',