Skip to content

basalt / ai/src / AnthropicProviderOptions

Interface: AnthropicProviderOptions ​

Defined in: ai/src/provider/anthropic.ts:9

Properties ​

apiKey ​

> apiKey: string

Defined in: ai/src/provider/anthropic.ts:11

API key → x-api-key header. Required.


baseUrl? ​

> optional baseUrl?: string

Defined in: ai/src/provider/anthropic.ts:15

API base URL. Defaults to the public Anthropic API.


fetch? ​

> optional fetch?: FetchLike

Defined in: ai/src/provider/anthropic.ts:17

Injected fetch. Defaults to the global fetch.


model? ​

> optional model?: string

Defined in: ai/src/provider/anthropic.ts:13

Model id. Defaults to a current Claude model.

Released under the MIT License.