ResolvedChatRequest constructor
const
ResolvedChatRequest({
- required ModelType modelType,
- required bool supportImage,
- required bool supportAudio,
- required bool supportsFunctionCalls,
- required List<
Tool> tools, - required int maxFunctionBufferLength,
- bool runtimeInjectsToolDeclarations = false,
- required double? temperature,
- required int? randomSeed,
- required int? topK,
- required double? topP,
- required int tokenBuffer,
- required String? loraPath,
- required bool enableThinking,
- required ToolChoice toolChoice,
- required String? systemInstruction,
- required int? maxOutputTokens,
- 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,
});