ApiConfig.anthropic constructor
ApiConfig.anthropic({})
Default Anthropic configuration.
Implementation
factory ApiConfig.anthropic({
required String apiKey,
String model = 'claude-sonnet-4-20250514',
int maxTokens = 16384,
}) => ApiConfig(
type: ApiProviderType.anthropic,
baseUrl: 'https://api.anthropic.com',
apiKey: apiKey,
model: model,
maxTokens: maxTokens,
);