ModelConfig constructor

const ModelConfig({
  1. required String id,
  2. required String displayName,
  3. required ModelFamily family,
  4. required Map<ModelProvider, String> providerIds,
  5. int maxInputTokens = 200000,
  6. int maxOutputTokens = 8192,
  7. bool supportsThinking = true,
  8. bool supportsImages = true,
  9. bool supportsComputerUse = false,
  10. bool supportsPdfInput = true,
  11. bool supportsWebSearch = false,
  12. bool supportsCaching = true,
  13. bool supports1mContext = false,
  14. DateTime? releaseDate,
  15. bool deprecated = false,
})

Implementation

const ModelConfig({
  required this.id,
  required this.displayName,
  required this.family,
  required this.providerIds,
  this.maxInputTokens = 200000,
  this.maxOutputTokens = 8192,
  this.supportsThinking = true,
  this.supportsImages = true,
  this.supportsComputerUse = false,
  this.supportsPdfInput = true,
  this.supportsWebSearch = false,
  this.supportsCaching = true,
  this.supports1mContext = false,
  this.releaseDate,
  this.deprecated = false,
});