added a feature to enable/disable report agentic message repspnse

This commit is contained in:
k
2026-09-22 08:21:03 +02:00
parent eff63e0024
commit b5d17d8944
8 changed files with 71 additions and 13 deletions
+3
View File
@@ -71,6 +71,9 @@ connectivity tester: `GET /api/admin/mail`, `POST /api/admin/mail/verify`,
login page (wishlist). Only switchable on while public registration is off —
the two are mutually exclusive (API answers 409 otherwise).
- `tools_ocr_enabled` (default on): admin kill-switch for the OCR tool.
- `reports_enabled` (default on): admin kill-switch for message reports —
the chat flag button turns grey with a "Report disabled" tooltip and
`POST /api/reports` answers 403. Surfaced to clients via `GET /api/tools`.
- Flags live in the `settings` SQLite table, edited via
`GET/PATCH /api/admin/settings` (admin Bearer only).