LLMConfig constructor

const LLMConfig({
  1. String? apiKey,
  2. required String baseUrl,
  3. required String model,
  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. List<String>? stopSequences,
  13. String? user,
  14. ServiceTier? serviceTier,
  15. Map<String, dynamic> extensions = const {},
})

Implementation

const LLMConfig({
  this.apiKey,
  required this.baseUrl,
  required this.model,
  this.maxTokens,
  this.temperature,
  this.systemPrompt,
  this.timeout,
  this.topP,
  this.topK,
  this.tools,
  this.toolChoice,
  this.stopSequences,
  this.user,
  this.serviceTier,
  this.extensions = const {},
});