Skip to main content

price_models

Function price_models 

Source
pub fn price_models(map: &HashMap<String, ModelUsage>) -> Vec<ModelSpend>
Expand description

Prices a model usage map into sorted ModelSpend rows. Pure: shared by the in-memory snapshot and the cross-process persisted_snapshot.