modelPathFor method

Future<String> modelPathFor(
  1. SyniModelSpec spec
)

Returns the on-disk path the GGUF would live at — does NOT touch the filesystem. Pair with isModelOnDisk to drive a "load only, skip download" flow.

Implementation

Future<String> modelPathFor(SyniModelSpec spec) async {
  final dir = await _modelsDir();
  return '${dir.path}/${spec.filename}';
}