ModelInfo class
Metadata for a supported LLM model.
A ModelInfo bundles everything the plugin needs to download, validate, and interact with a specific GGUF model: the remote URL, expected file size, hardware requirements, context length, and the matching ChatTemplate.
Constructors
Properties
- chatTemplate → ChatTemplate
-
The prompt template used for multi‑turn chat formatting.
final
- context → int
-
Maximum context window length in tokens.
final
- fileName → String
-
Local file name for the downloaded GGUF.
final
- ggufUrl → String
-
Direct download URL for the quantised GGUF file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Short machine‑readable identifier (e.g.
'tinyllama').final - minRamGB → int
-
Minimum device RAM (GB) recommended to load this model.
final
- name → String
-
Human‑readable model name shown in UI.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeMB → int
-
Approximate download size in megabytes.
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