mlx-bun library API
    Preparing search index...
    • Build a ModelRecord straight from a snapshot directory (also the scan() workhorse). Exported for explicit-path loads (serve --model <dir>), which must not depend on the registry DB having scanned that dir.

      Parameters

      • dir: string
      • repoId: string

      Returns Promise<ModelRecord | null>