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
Properties
- apiKey → String
-
The API key for the booted session — the env value (or its
_BASE64twin) 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
baseUrlconfig value — the catalog default is never a stand-in for an undeclared one).final - contextWindow → int?
-
Declared context window in tokens (gh-1471 D4), or null when
undeclared — the catalog/endpoint layers stand, exactly as before.
Riding the resolver's override layer, a declared value wins over
every layer below it (bench's kimi mapping pins 200000 so a catalog
drift can never silently truncate the served window).
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 - maxTokens → int?
-
Declared max output tokens (gh-1471 D4), or null when undeclared —
the ceiling table/spec layers stand, exactly as before.
final
- modelId → String
-
The boot model id (required
modelconfig 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/maxfold tohigh), 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