EnvProviderPreconfig class final

One resolved FA_PROVIDER_* preconfig: the catalog spec the type maps to plus the boot-ready name/endpoint/model/key tuple.

Constructors

EnvProviderPreconfig({required ProviderSpec spec, required String name, required String baseUrl, required String modelId, required String? apiKeyEnvVar, required String apiKey, List<String>? input, String? thinkingLevel})
Creates a resolved preconfig.
const

Properties

apiKey String
The API key for the booted session — the env value (or its _BASE64 twin) wins over any stored key. Empty for legitimate keyless endpoints.
final
apiKeyEnvVar String?
The env var the API key was read from, or null when the config declares no apiKeyEnvVar (keyless boot; absent means absent — the spec's env names are never probed).
final
baseUrl String
The endpoint base URL (required baseUrl config value — the catalog default is never a stand-in for an undeclared one).
final
hashCode int
The hash code for this object.
no setterinherited
input List<String>?
Declared input modalities (["text","image"]) or null when the config declares none — the catalog spec's modalities stand (issue #638: an explicit declaration wins, silence keeps today's behavior).
final
modelId String
The boot model id (required model config value — the catalog default is never a stand-in for an undeclared one).
final
name String
The unique entry name — defaults to the type, auto-suffixed -2, -3, ... on collision with a saved entry or another catalog provider name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spec ProviderSpec
The catalog spec parseEnvProviderPreconfig resolved the type against.
final
thinkingLevel String?
The declared thinking level, normalized to its ladder rung (xhigh/max fold to high), or null when undeclared — no thinking requested and the boot behaves byte-identically to before (issue #734).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited