Skip to content

anthropic / Exports / AnthropicProviderOptions

Interface: AnthropicProviderOptions

Anthropic provider options

Note: Anthropic API doesn't support response format configuration. JSON output can be requested through prompt instructions.

Hierarchy

Table of contents

Properties

Properties

apiKey

Optional apiKey: string

Anthropic API key (required when client is not provided)

Defined in

types.ts:28


timeout

Optional timeout: number

API request timeout (milliseconds)

Defined in

types.ts:33


baseURL

Optional baseURL: string

API base URL

Defined in

types.ts:38


client

Optional client: Anthropic

Anthropic client instance (optional: will be created from apiKey if not provided)

Defined in

types.ts:43

Released under the MIT License.