Skip to content

Commit 9435fe7

Browse files
committed
remove unused parameter
1 parent dfd145a commit 9435fe7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/providers/anthropic/api.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ import { ProviderAPIConfig } from '../types';
33
const AnthropicAPIConfig: ProviderAPIConfig = {
44
getBaseURL: () => 'https://api.anthropic.com/v1',
55

6-
headers: ({
7-
providerOptions,
8-
fn,
9-
headers: requestHeaders,
10-
gatewayRequestBody,
11-
}) => {
6+
headers: ({ providerOptions, fn, gatewayRequestBody }) => {
127
const apiKey =
138
providerOptions.apiKey || providerOptions.anthropicApiKey || '';
149
const headers: Record<string, string> = {

0 commit comments

Comments
 (0)