We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915a4f6 commit 8f48be2Copy full SHA for 8f48be2
tests/integration_tests/test_audio.py
@@ -45,7 +45,7 @@ def test_audio_speech_streaming(logging_conf):
45
choice = item.choices[0]
46
index = choice.index
47
finish_reason = choice.finish_reason
48
- audio_delta = item.choices[0].delta.content
+ audio_delta = choice.delta.content
49
if finish_reason is not None:
50
break
51
f.write(base64.b64decode(audio_delta))
0 commit comments