MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / normalizeModelId

Function normalizeModelId

src/lib/pricing.ts:122–125  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

120 * Normalize model ID to canonical form
121 */
122export function normalizeModelId(modelId: string): string {
123 const pricing = findPricing(modelId);
124 return pricing?.id || modelId;
125}

Callers 2

extractSessionDataFunction · 0.90
scanAllUsageFunction · 0.90

Calls 1

findPricingFunction · 0.85

Tested by

no test coverage detected