getInstalledModels method

  1. @override
Future<List<String>> getInstalledModels(
  1. ModelManagementType type
)
override

Gets all installed models for a specific type

Implementation

@override
Future<List<String>> getInstalledModels(ModelManagementType type) async {
  await _ensureInitialized();

  // Return installed model names based on type
  // For web, we can't easily distinguish types, so return all installed
  return _installedModels.entries
      .where((entry) => entry.value == true)
      .map((entry) => entry.key)
      .toList();
}