GenerativeConfig constructor

const GenerativeConfig({
  1. Map<ProviderId, ProviderCredentials> credentials = const {},
  2. String? cacheDir,
  3. bool offline = false,
  4. int? maxGenerations,
})

Creates a config over credentials, an optional cacheDir (defaults to .fluvie/generative under the working directory), an offline switch, and an optional maxGenerations budget per render.

Implementation

const GenerativeConfig({
  this.credentials = const {},
  this.cacheDir,
  this.offline = false,
  this.maxGenerations,
});