Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/pricing / / listMissingModels

Function: listMissingModels() ​

ts
function listMissingModels(spans, snapshot?): readonly MissingModelEntry[];

Defined in: pricing/src/missing.ts:35

Stable

Return one entry per (provider, model) pair that the snapshot does not recognise, sorted by descending occurrence count.

Parameters ​

ParameterTypeDefault value
spansIterable<PricingTraceSpanLike>undefined
snapshotPricingSnapshotBUNDLED_SNAPSHOT

Returns ​

readonly MissingModelEntry[]