MCPcopy
hub / github.com/claude-code-best/claude-code / trackUnknownModelCost

Function trackUnknownModelCost

src/utils/modelCost.ts:166–173  ·  view source on GitHub ↗
(model: string, shortName: ModelShortName)

Source from the content-addressed store, hash-verified

164}
165
166function trackUnknownModelCost(model: string, shortName: ModelShortName): void {
167 logEvent('tengu_unknown_model_cost', {
168 model: model as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
169 shortName:
170 shortName as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
171 })
172 setHasUnknownModelCost()
173}
174
175// Calculate the cost of a query in US dollars.
176// If the model's costs are not found, use the default model's costs.

Callers 1

getModelCostsFunction · 0.85

Calls 2

logEventFunction · 0.85
setHasUnknownModelCostFunction · 0.85

Tested by

no test coverage detected