AnthropicClientSettings

class AnthropicClientSettings(    val modelVersionsMap: Map<LLModel, String> = DEFAULT_ANTHROPIC_MODEL_VERSIONS_MAP,     val baseUrl: String = "https://api.anthropic.com",     val apiVersion: String = "2023-06-01",     val timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig())(source)

Represents the settings for configuring an Anthropic client, including model mapping, base URL, and API version.

Constructors

Link copied to clipboard
constructor(    modelVersionsMap: Map<LLModel, String> = DEFAULT_ANTHROPIC_MODEL_VERSIONS_MAP,     baseUrl: String = "https://api.anthropic.com",     apiVersion: String = "2023-06-01",     timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig())

Properties

Link copied to clipboard

The version of the Anthropic API to be used. Defaults to "2023-06-01".

Link copied to clipboard

The base URL for accessing the Anthropic API. Defaults to "https://api.anthropic.com".

Link copied to clipboard

Maps specific LLModel instances to their corresponding model version strings. This determines which Anthropic model versions are used for operations.

Link copied to clipboard