fix: correct Gemini TTS voice names
This commit is contained in:
@@ -1218,7 +1218,7 @@ class GeminiTTSService(GoogleBaseTTSService):
|
||||
"Alnilam",
|
||||
"Aoede",
|
||||
"Autonoe",
|
||||
"Callirhoe",
|
||||
"Callirrhoe",
|
||||
"Charon",
|
||||
"Despina",
|
||||
"Enceladus",
|
||||
@@ -1236,7 +1236,7 @@ class GeminiTTSService(GoogleBaseTTSService):
|
||||
"Sadachbia",
|
||||
"Sadaltager",
|
||||
"Schedar",
|
||||
"Sulafar",
|
||||
"Sulafat",
|
||||
"Umbriel",
|
||||
"Vindemiatrix",
|
||||
"Zephyr",
|
||||
|
||||
10
tests/test_google_tts.py
Normal file
10
tests/test_google_tts.py
Normal 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
|
||||
Reference in New Issue
Block a user