Skip to content

Commit 934bb99

Browse files
[Bugfix] Update expected token counts for Ultravox tests (#13895)
1 parent 3f808cc commit 934bb99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/entrypoints/openai/test_audio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def test_single_chat_session_audio(client: openai.AsyncOpenAI,
8383
choice = chat_completion.choices[0]
8484
assert choice.finish_reason == "length"
8585
assert chat_completion.usage == openai.types.CompletionUsage(
86-
completion_tokens=10, prompt_tokens=201, total_tokens=211)
86+
completion_tokens=10, prompt_tokens=202, total_tokens=212)
8787

8888
message = choice.message
8989
message = chat_completion.choices[0].message
@@ -140,7 +140,7 @@ async def test_single_chat_session_audio_base64encoded(
140140
choice = chat_completion.choices[0]
141141
assert choice.finish_reason == "length"
142142
assert chat_completion.usage == openai.types.CompletionUsage(
143-
completion_tokens=10, prompt_tokens=201, total_tokens=211)
143+
completion_tokens=10, prompt_tokens=202, total_tokens=212)
144144

145145
message = choice.message
146146
message = chat_completion.choices[0].message
@@ -196,7 +196,7 @@ async def test_single_chat_session_input_audio(
196196
choice = chat_completion.choices[0]
197197
assert choice.finish_reason == "length"
198198
assert chat_completion.usage == openai.types.CompletionUsage(
199-
completion_tokens=10, prompt_tokens=201, total_tokens=211)
199+
completion_tokens=10, prompt_tokens=202, total_tokens=212)
200200

201201
message = choice.message
202202
message = chat_completion.choices[0].message

0 commit comments

Comments
 (0)