SessionRequest constructor
SessionRequest({
- double? temperature,
- int? randomSeed,
- int? topK,
- double? topP,
- String? loraPath,
- bool? enableVisionModality,
- bool? enableAudioModality,
- String? systemInstruction,
- bool enableThinking = false,
- List<
Tool> tools = const [], - int? maxOutputTokens,
- ModelType? modelType,
- ToolChoice toolChoice = ToolChoice.auto,
- JsonSchemaResponseFormat? responseFormat,
Implementation
SessionRequest({
this.temperature,
this.randomSeed,
this.topK,
this.topP,
this.loraPath,
this.enableVisionModality,
this.enableAudioModality,
this.systemInstruction,
this.enableThinking = false,
List<Tool> tools = const [],
this.maxOutputTokens,
this.modelType,
this.toolChoice = ToolChoice.auto,
this.responseFormat,
}) : tools = List.unmodifiable(tools);