Commit 682c3858 authored by Nicolò Lucchesi's avatar Nicolò Lucchesi Committed by Kevin H. Luu
Browse files

[CI][Bugfix] Fix flaky `tests/entrypoints/openai/test_audio.py::test_chat_streaming_audio` (#30878)


Signed-off-by: default avatarNickLucche <nlucches@redhat.com>
(cherry picked from commit 9ca8cb38)
parent f124b567
...@@ -254,7 +254,9 @@ async def test_single_chat_session_input_audio( ...@@ -254,7 +254,9 @@ async def test_single_chat_session_input_audio(
async def test_chat_streaming_audio( async def test_chat_streaming_audio(
client: openai.AsyncOpenAI, model_name: str, audio_url: str client: openai.AsyncOpenAI, model_name: str, audio_url: str
): ):
messages = dummy_messages_from_audio_url(audio_url) messages = dummy_messages_from_audio_url(
audio_url, "What's a short title for this audio?"
)
# test single completion # test single completion
chat_completion = await client.chat.completions.create( chat_completion = await client.chat.completions.create(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment