We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfd145a commit 9435fe7Copy full SHA for 9435fe7
src/providers/anthropic/api.ts
@@ -3,12 +3,7 @@ import { ProviderAPIConfig } from '../types';
3
const AnthropicAPIConfig: ProviderAPIConfig = {
4
getBaseURL: () => 'https://api.anthropic.com/v1',
5
6
- headers: ({
7
- providerOptions,
8
- fn,
9
- headers: requestHeaders,
10
- gatewayRequestBody,
11
- }) => {
+ headers: ({ providerOptions, fn, gatewayRequestBody }) => {
12
const apiKey =
13
providerOptions.apiKey || providerOptions.anthropicApiKey || '';
14
const headers: Record<string, string> = {
0 commit comments