SyniLocalModel class
An on-device model — runs via the candle runtime. spec is what
SyniAgent.install needs to download + load it.
- Inheritance
-
- Object
- SyniModelOption
- SyniLocalModel
Constructors
-
SyniLocalModel({required String id, required String displayName, required String description, required Set<
String> optimizedFor, required Set<String> requires, required bool isDefault, required SyniModelSpec spec}) -
const
Properties
- description → String
-
finalinherited
- displayName → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable catalog id.
finalinherited
- isDefault → bool
-
The recommended default when the caller has no task-specific preference.
finalinherited
-
optimizedFor
→ Set<
String> -
Free-form capability tags the router scores against a task, e.g.
offline,low_latency,deep_reasoning,long_context,privacy.finalinherited -
requires
→ Set<
String> -
Hard constraints the client must satisfy to offer this option, e.g.
network,plan_pro,device_class_high.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spec → SyniModelSpec
-
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