mlx-bun library API
    Preparing search index...

    A family's default graph recommendations, selected by composition. Adding a recommended graph means adding an entry. Callers may supply any graph directly. The family's generic graph is the one entry that constrains nothing.

    Default selection runs once, when the loader loads the graph: among the entries whose every constraint the composition meets, the one constraining the most fields wins. The generic entry meets every composition, so the table never refuses; a request the built graph cannot serve is refused before it runs, by the gateway's planning from the graph's declared capabilities. Construction rejects a table without exactly one generic entry, or with two entries of equal constraint count that one composition could both meet, so no winner depends on the order of entries.

    Type Parameters

    • Source
    • Model
    Index
    entries: readonly GraphEntry<Source, Model>[]

    The unconstrained entry: it serves what nothing more specific matches, and is how a bench constructs the generic graph explicitly as an A/B control.