AnthropicClient constructor
AnthropicClient(
- ApiConfig config, {
- RetryConfig retryConfig = RetryConfig.defaultConfig,
Creates a client with the given Anthropic config.
Requires config.apiKey to be non-null.
Implementation
AnthropicClient(this.config, {this.retryConfig = RetryConfig.defaultConfig})
: assert(config.apiKey != null);