Skip to content

Commit 94b33dd

Browse files
committed
test(openai): rebase legacy function_call regression test onto #1751 arity
_extract_streamed_openai_response now returns a 5-tuple (adds service_tier, upstream #1751) instead of 4. Update this test's unpack to match; the bug assertions (model/completion/metadata content) are unchanged.
1 parent 68a91a2 commit 94b33dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def test_streaming_chat_completion_handles_legacy_function_call_none_arguments()
452452
OpenAI-compatible-proxy behaviour, analogous to the `tool_calls` bug
453453
fixed in PR #1339 but never patched for this legacy branch).
454454
"""
455-
model, completion, usage, metadata = (
455+
model, completion, usage, metadata, _service_tier = (
456456
lf_openai_module._extract_streamed_openai_response(
457457
SimpleNamespace(type="chat"),
458458
_make_chat_stream_chunks_with_legacy_function_call_none_arguments(),

0 commit comments

Comments
 (0)