Fix failing elevenlabs tts test (#125698)

This commit is contained in:
Jan-Philipp Benecke
2024-09-10 22:35:24 +02:00
committed by GitHub
parent 69530a5c94
commit 6c5dfd0bbc

View File

@@ -440,5 +440,11 @@ async def test_tts_service_speak_without_options(
)
tts_entity._client.generate.assert_called_once_with(
text="There is a person at the front door.", voice="voice1", model="model1"
text="There is a person at the front door.",
voice="voice1",
optimize_streaming_latency=0,
voice_settings=VoiceSettings(
stability=0.5, similarity_boost=0.75, style=0.0, use_speaker_boost=True
),
model="model1",
)