fix: correct Gemini TTS voice names

This commit is contained in:
orphis
2026-05-08 00:09:56 +05:30
parent 6189e920e1
commit 98c370457b
2 changed files with 12 additions and 2 deletions

10
tests/test_google_tts.py Normal file
View File

@@ -0,0 +1,10 @@
from pipecat.services.google.tts import GeminiTTSService
def test_gemini_tts_available_voices_match_documented_names():
voices = GeminiTTSService.AVAILABLE_VOICES
assert "Callirrhoe" in voices
assert "Sulafat" in voices
assert "Callirhoe" not in voices
assert "Sulafar" not in voices