Skip to content

Commit 04358ee

Browse files
committed
chore: formatting
1 parent cc4ca0c commit 04358ee

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/handlers/handlerUtils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,6 @@ export function constructConfigFromRequestHeaders(
10111011
resourceName: requestHeaders[`x-${POWERED_BY}-azure-resource-name`],
10121012
deploymentId: requestHeaders[`x-${POWERED_BY}-azure-deployment-id`],
10131013
apiVersion: requestHeaders[`x-${POWERED_BY}-azure-api-version`],
1014-
azureAdToken: requestHeaders[`x-${POWERED_BY}-azure-ad-token`],
10151014
azureAuthMode: requestHeaders[`x-${POWERED_BY}-azure-auth-mode`],
10161015
azureManagedClientId:
10171016
requestHeaders[`x-${POWERED_BY}-azure-managed-client-id`],

src/providers/azure-ai-inference/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const AzureAIInferenceAPI: ProviderAPIConfig = {
1919

2020
return `https://${azureEndpointName}.${azureRegion}.inference.ml.azure.com/score`;
2121
},
22-
headers: async ({ providerOptions }) => {
22+
headers: ({ providerOptions }) => {
2323
const { apiKey, azureDeploymentType, azureDeploymentName } =
2424
providerOptions;
2525
const headers: Record<string, string> = {

0 commit comments

Comments
 (0)