Dieter Schlüter
1eb79c1f09
feat: Tageskontingent und Notfall-Eskalation (#6)
- Quota (app/quota.py): Anfragen pro Nutzer/Tag (usage-Tabelle), DAILY_REQUEST_LIMIT,
pro Nutzer via prefs uebersteuerbar; 429 (REST) bzw. error-Event (WS); Metrik
- Notfall (app/safety/emergency.py): heuristische Erkennung (de/en); Log im Store
(emergency_events) + optionaler Webhook (best-effort) + X-Emergency/emergency-Event;
Metrik emergency_total; Notfaelle umgehen das Kontingent
- verdrahtet in chat/speak/transcribe + WS-Turns
- Tests: 64 gruen (+6); Doku aktualisiert (README, BEDIENUNGSANLEITUNG, Architektur, .env.example)
Hinweis: Notfall-Erkennung ist eine Heuristik (kein Lebensretter); erkannte Texte
sind sensibel -> DSGVO beachten.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-17 05:29:30 +02:00 |
| .. |
|
__init__.py
|
Initial commit: Voice Assistant Gateway mit Konfig-/Routing-Fundament
|
2026-06-17 01:48:56 +02:00 |
|
admin.py
|
feat: Cloud-Fundament - Auth, Persistenz und Mandanten-Trennung
|
2026-06-17 02:14:25 +02:00 |
|
chat.py
|
feat: Tageskontingent und Notfall-Eskalation (#6)
|
2026-06-17 05:29:30 +02:00 |
|
config.py
|
Initial commit: Voice Assistant Gateway mit Konfig-/Routing-Fundament
|
2026-06-17 01:48:56 +02:00 |
|
devices.py
|
Initial commit: Voice Assistant Gateway mit Konfig-/Routing-Fundament
|
2026-06-17 01:48:56 +02:00 |
|
health.py
|
Initial commit: Voice Assistant Gateway mit Konfig-/Routing-Fundament
|
2026-06-17 01:48:56 +02:00 |
|
me.py
|
feat: Langzeit-Erinnerungen (#3b) und WebSocket-Streaming-Chat (#4, erster Increment)
|
2026-06-17 04:26:55 +02:00 |
|
metrics.py
|
feat: Resilienz (Fallback-Ketten) und Metriken (#5)
|
2026-06-17 05:19:07 +02:00 |
|
sessions.py
|
feat: Cloud-Fundament - Auth, Persistenz und Mandanten-Trennung
|
2026-06-17 02:14:25 +02:00 |
|
speak.py
|
feat: Tageskontingent und Notfall-Eskalation (#6)
|
2026-06-17 05:29:30 +02:00 |
|
transcribe.py
|
feat: Tageskontingent und Notfall-Eskalation (#6)
|
2026-06-17 05:29:30 +02:00 |
|
ws.py
|
feat: Tageskontingent und Notfall-Eskalation (#6)
|
2026-06-17 05:29:30 +02:00 |