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
↳
AnthropicProviderOptions
Table of contents
Properties
Properties
apiKey
• Optional
apiKey: string
Anthropic API key (required when client is not provided)
Defined in
timeout
• Optional
timeout: number
API request timeout (milliseconds)
Defined in
baseURL
• Optional
baseURL: string
API base URL
Defined in
client
• Optional
client: Anthropic
Anthropic client instance (optional: will be created from apiKey if not provided)