okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-split-fb4 (201d674e9) into f-split-int: cloudflared discovery, settings file, Gyro minimum engine, two models on two GPUs261145baa

main
446 B8 linesraw
1/** The name a person reads for a loaded model: the family and the version from the catalog ("Qwen3.8-Flash-Next Q2_0"), not the file id. */
2export function friendlyModelName(catalog, id) {
3  for (const family of catalog?.families ?? []) {
4    const size = (family.sizes ?? []).find(s => s.id === id);
5    if (size?.model && family.title) return `${String(family.title).replace(/\s*\(Gyro\)\s*$/, '')} ${size.model}`.trim();
6  }
7  return null;
8}