ActiveModelParams constructor
const
ActiveModelParams({
- required int maxTokens,
- PreferredBackend? preferredBackend,
- PreferredBackend? preferredVisionBackend,
- PreferredBackend? preferredAudioBackend,
- bool supportImage = false,
- bool supportAudio = false,
- int? maxNumImages,
- bool? enableSpeculativeDecoding,
- int? maxConcurrentSessions,
- List<
int> ? loraRanks,
Implementation
const ActiveModelParams({
required this.maxTokens,
this.preferredBackend,
this.preferredVisionBackend,
this.preferredAudioBackend,
this.supportImage = false,
this.supportAudio = false,
this.maxNumImages,
this.enableSpeculativeDecoding,
this.maxConcurrentSessions,
this.loraRanks,
});