From 1171ef758ec87e351ecd4fe3e36fbd94ef3c6d28 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:01:22 -0700 Subject: [PATCH] test(integration): expect the fallback group on non-streamed native messages and responses fallbacks --- tests/integration/streaming/test_stream_contracts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/streaming/test_stream_contracts.py b/tests/integration/streaming/test_stream_contracts.py index 1d2a8b25792..85e389c7fae 100644 --- a/tests/integration/streaming/test_stream_contracts.py +++ b/tests/integration/streaming/test_stream_contracts.py @@ -1023,7 +1023,7 @@ def test_native_messages_and_responses_routes_fall_back_and_bill_the_fallback( else: response_body: Final = JSON_OBJECT.validate_json(response.content) expected_response: Final = ( - _native_anthropic_message(fallback_model, identity, fallback_text) + _native_anthropic_message("fallback", identity, fallback_text) if is_messages else { "id": response_body["id"], @@ -1032,7 +1032,7 @@ def test_native_messages_and_responses_routes_fall_back_and_bill_the_fallback( "incomplete_details": None, "instructions": None, "metadata": None, - "model": fallback_model, + "model": "fallback", "object": "response", "output": [ {