DeepSeekConfig constructor
const
DeepSeekConfig({
- required String apiKey,
- String baseUrl = ProviderDefaults.deepseekBaseUrl,
- String model = ProviderDefaults.deepseekDefaultModel,
- int? maxTokens,
- double? temperature,
- String? systemPrompt,
- Duration? timeout,
- double? topP,
- int? topK,
- List<
Tool> ? tools, - ToolChoice? toolChoice,
- bool? logprobs,
- int? topLogprobs,
- double? frequencyPenalty,
- double? presencePenalty,
- Map<
String, dynamic> ? responseFormat, - 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;