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
This commit is contained in:
mateo-berri 2026-10-21 00:06:49 -07:00
parent 222a9bf827
commit 29f49eb3a2

View file

@ -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},