AnthropicLLMClient

constructor(apiKey: String, settings: AnthropicClientSettings = AnthropicClientSettings(), baseClient: HttpClient = HttpClient())(source)

Creates an instance of the AnthropicSuspendableDirectClient.

Parameters

apiKey

The API key required to authenticate with the Anthropic service.

settings

Configurable settings for the Anthropic client, which include the base URL and other options.

baseClient

An optional custom configuration for the underlying HTTP client, defaulting to a Ktor client.