anthropic

fun anthropic(apiKey: String, configure: KoogAgentsConfig.AnthropicConfig.() -> Unit = {})(source)

Configures the Anthropic API client with the specified API key and additional settings.

Parameters

apiKey

The API key used for authenticating with the Anthropic API.

configure

A lambda function for further configuring the Anthropic client. Default is an empty configuration.