DeepSeekConfig constructor

const DeepSeekConfig({
  1. required String apiKey,
  2. String baseUrl = ProviderDefaults.deepseekBaseUrl,
  3. String model = ProviderDefaults.deepseekDefaultModel,
  4. int? maxTokens,
  5. double? temperature,
  6. String? systemPrompt,
  7. Duration? timeout,
  8. double? topP,
  9. int? topK,
  10. List<Tool>? tools,
  11. ToolChoice? toolChoice,
  12. bool? logprobs,
  13. int? topLogprobs,
  14. double? frequencyPenalty,
  15. double? presencePenalty,
  16. Map<String, dynamic>? responseFormat,
  17. LLMConfig? originalConfig,
})

Implementation

const DeepSeekConfig({
  required this.apiKey,
  this.baseUrl = ProviderDefaults.deepseekBaseUrl,
  this.model = ProviderDefaults.deepseekDefaultModel,
  this.maxTokens,
  this.temperature,
  this.systemPrompt,
  this.timeout,
  this.topP,
  this.topK,
  this.tools,
  this.toolChoice,
  this.logprobs,
  this.topLogprobs,
  this.frequencyPenalty,
  this.presencePenalty,
  this.responseFormat,
  LLMConfig? originalConfig,
}) : _originalConfig = originalConfig;