Add /speak command for multi-voice TTS in group chats
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful

- /speak <voice> enables TTS with selected voice (irina, denis, dmitri)
- /speak stop disables TTS in the chat
- Private chats keep always-on TTS behavior
- Add PIPER_VOICES env var for voice-to-URL mapping
- Add chat type field to distinguish private/group chats

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mikhail Kilin
2026-02-20 00:56:30 +03:00
parent 88c328b5d0
commit 17eb61b259
3 changed files with 132 additions and 13 deletions

View File

@@ -42,6 +42,8 @@ spec:
value: "ru"
- name: PIPER_URL
value: "http://piper.piper.svc:5000"
- name: PIPER_VOICES
value: "irina=http://piper.piper.svc:5000,denis=http://piper-denis.piper.svc:5000,dmitri=http://piper-dmitri.piper.svc:5000"
resources:
requests:
memory: "32Mi"