chore: auto-commit from dashboard

This commit is contained in:
2026-07-10 15:12:22 +00:00
parent 7b44749e5a
commit 738dc0181a
13 changed files with 383 additions and 44 deletions

View File

@@ -787,6 +787,11 @@ def cmd_audio(args: list[str]) -> str:
if len(text) > _MAX_TTS_CHARS:
text = text[:_MAX_TTS_CHARS] + "..."
# Normalizare RO pentru TTS (numere, monedă, unități, abrevieri) —
# aceeași expandare ca voice mode live, fără trunchierea la 200 cuvinte
from src.voice.normalize import expand_for_tts
text = expand_for_tts(text)
# Apel TTS (import direct din tools/tts.py)
result = _tts_synthesize(text, voice)
if result.get("ok"):