TTS: allow up to 500 characters, smaller handwriting on the letter for long messages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bashy 2026-11-21 15:03:07 +02:00
parent 50fd4b1cad
commit cf90b6be54
5 changed files with 12 additions and 7 deletions

View file

@ -25,7 +25,7 @@ router.post('/', (req, res) => {
gap_audio_min_volume: flt(b.gap_audio_min_volume, 0.2),
gap_audio_max_volume: flt(b.gap_audio_max_volume, 1.0),
gap_audio_loud_after: int(b.gap_audio_loud_after, 3600),
tts_max_chars: Math.max(20, Math.min(300, int(b.tts_max_chars, 200))),
tts_max_chars: Math.max(20, Math.min(500, int(b.tts_max_chars, 200))),
tts_say_name: b.tts_say_name === 'on' ? 1 : 0,
tts_blocklist: String(b.tts_blocklist || '').slice(0, 20000),
custom_css: b.custom_css || '',