MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / trackUnknownModelCost

Function trackUnknownModelCost

source code/utils/modelCost.ts:168–175  ·  view source on GitHub ↗
(model: string, shortName: ModelShortName)

Source from the content-addressed store, hash-verified

166}
167
168function trackUnknownModelCost(model: string, shortName: ModelShortName): void {
169 logEvent('tengu_unknown_model_cost', {
170 model: model as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
171 shortName:
172 shortName as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
173 })
174 setHasUnknownModelCost()
175}
176
177// Calculate the cost of a query in US dollars.
178// 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