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

Function normalizeModelStringForAPI

source code/utils/model/model.ts:618–620  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

616}
617
618export function normalizeModelStringForAPI(model: string): string {
619 return model.replace(/\[(1|2)m\]/gi, '')
620}

Callers 8

runFunction · 0.85
sideQueryFunction · 0.85
callFunction · 0.85
queryModelFunction · 0.85
paramsFromContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected