Skip to content

Commit 8f48be2

Browse files
author
yuhongxiao
committed
参数优化
1 parent 915a4f6 commit 8f48be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/test_audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_audio_speech_streaming(logging_conf):
4545
choice = item.choices[0]
4646
index = choice.index
4747
finish_reason = choice.finish_reason
48-
audio_delta = item.choices[0].delta.content
48+
audio_delta = choice.delta.content
4949
if finish_reason is not None:
5050
break
5151
f.write(base64.b64decode(audio_delta))

0 commit comments

Comments
 (0)