RuntimeConfig class
Runtime config for building a model — the per-call params getActiveModel
collects, kept as a small holder so the provider contract stays stable as
params evolve.
Constructors
Properties
- enableSpeculativeDecoding → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loraRanks
→ List<
int> ? -
LoRA ranks for the MediaPipe path; null falls back to the platform's
supportedLoraRanks. Carried in the config so the (cached) default-engine build closure reads it per call instead of capturing a stale local.final - maxConcurrentSessions → int?
-
final
- maxNumImages → int?
-
final
- maxTokens → int
-
final
- modelPath → String
-
Resolved on-disk path to the model file. Core's platform
createModelpreamble resolves it from the active spec via the model manager and passes it here so the engine package never touches core's file-path resolution.final - preferredBackend → PreferredBackend?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportAudio → bool
-
final
- supportImage → bool
-
final
- tokenizerPath → String?
-
Resolved on-disk path to the tokenizer. Embedding backends only; null for
inference. The spec carries source identities (network/asset/file); core
resolves them to on-disk paths via the model manager and passes the
resolved tokenizer path here (install-vs-runtime separation).
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