setModelPath method
Sets direct path to existing model files
Implementation
@override
Future<void> setModelPath(String path, {String? loraPath}) async {
await _ensureInitialized();
final spec = InferenceModelSpec.fromLegacyUrl(
name: ModelFileSystemManager.getBaseName(path.split('/').last),
modelUrl: 'file://$path',
loraUrl: loraPath != null ? 'file://$loraPath' : null,
);
await _ensureModelReadySpec(spec);
setActiveModel(spec);
}