Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
122
export
function
normalizeModelId(modelId: string): string {
123
const
pricing = findPricing(modelId);
124
return
pricing?.id || modelId;
125
}
Callers
2
extractSessionData
Function · 0.90
scanAllUsage
Function · 0.90
Calls
1
findPricing
Function · 0.85
Tested by
no test coverage detected