ModelRef constructor

const ModelRef({
  1. required String provider,
  2. required String modelId,
  3. String? apiKeyName,
  4. String? baseUrl,
  5. int? contextWindow,
  6. int? maxTokens,
})

Creates a model reference.

Implementation

const ModelRef({
  required this.provider,
  required this.modelId,
  this.apiKeyName,
  this.baseUrl,
  this.contextWindow,
  this.maxTokens,
});