feat(privacy): redact PII from LLM context when privacy.redact_pii is enabled (#1542)

feat(privacy): redact PII from LLM context when privacy.redact_pii is enabled
This commit is contained in:
Teknium 2026-03-16 06:08:17 -07:00 committed by GitHub
commit 2633272ea9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 292 additions and 6 deletions

View file

@ -207,6 +207,11 @@ DEFAULT_CONFIG = {
"show_reasoning": False,
"skin": "default",
},
# Privacy settings
"privacy": {
"redact_pii": False, # When True, hash user IDs and strip phone numbers from LLM context
},
# Text-to-speech configuration
"tts": {