From 438cc3b7ad742ef75ee4e9b04e765903cab7e282 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Fri, 6 Nov 2026 01:11:53 -0800 Subject: [PATCH] test(integration): expect Bedrock and Bedrock Mantle Responses to drop minted reasoning Bedrock and Bedrock Mantle answer 400 on a reasoning item litellm minted, so the wire test now expects both to drop it, like OpenAI and Azure --- ..._responses_minted_reasoning_replay_wire.py | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/tests/integration/providers/test_responses_minted_reasoning_replay_wire.py b/tests/integration/providers/test_responses_minted_reasoning_replay_wire.py index 2253443dfc0..4ff5871ff97 100644 --- a/tests/integration/providers/test_responses_minted_reasoning_replay_wire.py +++ b/tests/integration/providers/test_responses_minted_reasoning_replay_wire.py @@ -77,7 +77,18 @@ _AZURE_AI_OPENAI_HOST: Final = _Deployment( "/openai/v1/responses?api-version=preview", strips_message_status=True, ) -_DROPPING: Final = (_OPENAI, _AZURE, _AZURE_AI_OPENAI_HOST) +_BEDROCK_MANTLE: Final = _Deployment( + "bedrock_mantle", "bedrock_mantle/openai.gpt-oss-120b", "synthetic-mantle-key", "/v1/responses" +) +_BEDROCK: Final = _Deployment( + "bedrock", + "bedrock/openai.gpt-oss-120b-1:0", + "synthetic-bedrock-key", + "/openai/v1/responses", + MappingProxyType({"aws_region_name": "us-east-1"}), + model_info=MappingProxyType({"supported_endpoints": ["/v1/responses"]}), +) +_DROPPING: Final = (_OPENAI, _AZURE, _AZURE_AI_OPENAI_HOST, _BEDROCK_MANTLE, _BEDROCK) _KEEPING: Final = ( _Deployment("litellm_proxy", f"litellm_proxy/{_GPT}", "synthetic-proxy-key", "/responses"), _Deployment("databricks", "databricks/gpt-5.6", "synthetic-databricks-key", "/responses"), @@ -95,15 +106,6 @@ _KEEPING: Final = ( "/v1/responses", types_untyped_items_as_messages=True, ), - _Deployment("bedrock_mantle", "bedrock_mantle/openai.gpt-oss-120b", "synthetic-mantle-key", "/v1/responses"), - _Deployment( - "bedrock", - "bedrock/openai.gpt-oss-120b-1:0", - "synthetic-bedrock-key", - "/openai/v1/responses", - MappingProxyType({"aws_region_name": "us-east-1"}), - model_info=MappingProxyType({"supported_endpoints": ["/v1/responses"]}), - ), *( _Deployment(slug, f"{slug}/{model}", f"synthetic-{slug}-key", "/responses") for slug, model in (