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": [ {