Skip to content

Commit 9178f87

Browse files
sresam89cubic-dev-ai[bot]
authored andcommitted
Update packages/openai-adapters/src/apis/AnthropicUtils.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent db5af6b commit 9178f87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/openai-adapters/src/apis/AnthropicUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function getAnthropicHeaders(
7979
}
8080

8181
const authHeaderName =
82-
isAzure && apiBase?.includes("cognitiveservices.azure.com")
82+
isAzure && apiBase?.toLowerCase().includes("cognitiveservices.azure.com")
8383
? "api-key"
8484
: "x-api-key";
8585

0 commit comments

Comments
 (0)