Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/pricing / / listMissingModels

Function: listMissingModels()

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

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

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[]

Stable