ActiveModelParams constructor

const ActiveModelParams({
  1. required int maxTokens,
  2. PreferredBackend? preferredBackend,
  3. PreferredBackend? preferredVisionBackend,
  4. PreferredBackend? preferredAudioBackend,
  5. bool supportImage = false,
  6. bool supportAudio = false,
  7. int? maxNumImages,
  8. bool? enableSpeculativeDecoding,
  9. int? maxConcurrentSessions,
  10. 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,
});