ResolvedChatRequest constructor

const ResolvedChatRequest({
  1. required ModelType modelType,
  2. required bool supportImage,
  3. required bool supportAudio,
  4. required bool supportsFunctionCalls,
  5. required List<Tool> tools,
  6. required int maxFunctionBufferLength,
  7. bool runtimeInjectsToolDeclarations = false,
  8. required double? temperature,
  9. required int? randomSeed,
  10. required int? topK,
  11. required double? topP,
  12. required int tokenBuffer,
  13. required String? loraPath,
  14. required bool enableThinking,
  15. required ToolChoice toolChoice,
  16. required String? systemInstruction,
  17. required int? maxOutputTokens,
  18. required JsonSchemaResponseFormat? responseFormat,
})

Implementation

const ResolvedChatRequest({
  required this.modelType,
  required this.supportImage,
  required this.supportAudio,
  required this.supportsFunctionCalls,
  required this.tools,
  required this.maxFunctionBufferLength,
  this.runtimeInjectsToolDeclarations = false,
  required this.temperature,
  required this.randomSeed,
  required this.topK,
  required this.topP,
  required this.tokenBuffer,
  required this.loraPath,
  required this.enableThinking,
  required this.toolChoice,
  required this.systemInstruction,
  required this.maxOutputTokens,
  required this.responseFormat,
});