feat(ai): apply 1.1x speed default to Yandex TTS as well

This commit is contained in:
Yera All
2026-04-07 00:45:09 +05:00
parent 025f1a59ce
commit 5c1f720b46
@@ -104,11 +104,11 @@ def _yandex_role() -> str:
def _yandex_speed() -> str:
raw = os.getenv("AI_VOICE_TTS_YANDEX_SPEED", "1.0").strip()
raw = os.getenv("AI_VOICE_TTS_YANDEX_SPEED", "1.1").strip()
try:
value = float(raw)
except ValueError:
value = 1.0
value = 1.1
return f"{max(0.1, min(value, 3.0)):g}"