From 29f49eb3a29c7fcdcd133dd0bd5c728483f2207c Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Wed, 21 Oct 2026 00:06:49 -0700 Subject: [PATCH] test(bedrock): expect the converse deployment's own key in the tool search translation case The case now calls bedrock/converse/global.openai.gpt-6.1-sol, whose deployment authenticates with synthetic-agent-key, so the expected provider header follows it --- .../tool_search/test_messages_tool_search_bedrock_converse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/translation/messages/tool_search/test_messages_tool_search_bedrock_converse.py b/tests/integration/translation/messages/tool_search/test_messages_tool_search_bedrock_converse.py index 7f5d91fec30..055571ff8c2 100644 --- a/tests/integration/translation/messages/tool_search/test_messages_tool_search_bedrock_converse.py +++ b/tests/integration/translation/messages/tool_search/test_messages_tool_search_bedrock_converse.py @@ -54,7 +54,7 @@ GPT_6_1_SOL_TOOL_SEARCH_TEST_CASE: Final = TranslationTestCase( "cache": {"no-cache": True}, }, expected_provider_endpoint="/model/global.openai.gpt-6.1-sol/converse", - expected_provider_headers={"authorization": "Bearer synthetic-bedrock-key", "content-type": "application/json"}, + expected_provider_headers={"authorization": "Bearer synthetic-agent-key", "content-type": "application/json"}, expected_provider_request={ "additionalModelRequestFields": {"reasoning": {"effort": "low"}}, "inferenceConfig": {"maxTokens": 1024},