Skip to content

Graphorin API reference v0.12.1


Graphorin API reference / @graphorin/pricing / / listMissingModels

Function: listMissingModels()

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

Defined in: packages/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