Sending x-api-key instead of api-key as header for azure hosted anthropic service (#11517)
* Fix for sending x-api-key instead of api-key as header for newer azure hosted anthropic service * Update packages/openai-adapters/src/apis/AnthropicUtils.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * fix: update test to expect x-api-key for Azure AI Foundry endpoints Azure AI Foundry (services.ai.azure.com) uses x-api-key, while only cognitiveservices.azure.com uses api-key. Update the test to match. --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Co-authored-by: Dallin Romney <dallinromney@gmail.com>
S
Sreeram committed
fd559bbc8eae6103707177028c99583124e74482
Parent: 6e0045e
Committed by GitHub <noreply@github.com>
on 3/25/2026, 1:10:54 AM