Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/claude-code-best/claude-code
/ normalizeModelStringForAPI
Function
normalizeModelStringForAPI
src/utils/model/model.ts:710–712 ·
view source on GitHub ↗
(model: string)
Source
from the content-addressed store, hash-verified
708
}
709
710
export
function
normalizeModelStringForAPI(model: string): string {
711
return
model.replace(/\[(1|2)m\]/gi,
''
)
712
}
Callers
10
run
Function · 0.85
sideQuery
Function · 0.85
sideQueryViaOpenAICompatible
Function · 0.85
sideQueryViaGemini
Function · 0.85
call
Function · 0.85
countMessagesTokensWithAPI
Function · 0.85
countTokensViaHaikuFallback
Function · 0.85
executeNonStreamingRequest
Function · 0.85
queryModel
Function · 0.85
paramsFromContext
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected