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 messagesPath: String = "v1/messages", val timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig())(source)
Represents the settings for configuring an Anthropic client, including model mapping, base URL, and API version.
Properties
Link copied to clipboard
The version of the Anthropic API to be used. Defaults to "2023-06-01".
Link copied to clipboard
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