ModelConfig constructor
const
ModelConfig({
- required String id,
- required String displayName,
- required ModelFamily family,
- required Map<
ModelProvider, String> providerIds, - int maxInputTokens = 200000,
- int maxOutputTokens = 8192,
- bool supportsThinking = true,
- bool supportsImages = true,
- bool supportsComputerUse = false,
- bool supportsPdfInput = true,
- bool supportsWebSearch = false,
- bool supportsCaching = true,
- bool supports1mContext = false,
- DateTime? releaseDate,
- 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,
});