MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getModelStrings

Function getModelStrings

src/utils/model/modelStrings.ts:136–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134}
135
136export function getModelStrings(): ModelStrings {
137 const ms = getModelStringsState()
138 if (ms === null) {
139 initModelStrings()
140 // Bedrock path falls through here while the profile fetch runs in the
141 // background — still honor overrides on the interim defaults.
142 return applyModelOverrides(getBuiltinModelStrings(getAPIProvider()))
143 }
144 return applyModelOverrides(ms)
145}
146
147/**
148 * Ensure model strings are fully initialized.

Callers 13

getSonnet46OptionFunction · 0.70
getOpus46OptionFunction · 0.70
getSonnet46_1MOptionFunction · 0.70
getOpus46_1MOptionFunction · 0.70
getHaikuOptionFunction · 0.70
getMergedOpus1MOptionFunction · 0.70
isNonCustomOpusModelFunction · 0.70
getDefaultOpusModelFunction · 0.70
getDefaultSonnetModelFunction · 0.70
getDefaultHaikuModelFunction · 0.70
get3PFallbackSuggestionFunction · 0.70

Calls 4

initModelStringsFunction · 0.85
applyModelOverridesFunction · 0.85
getBuiltinModelStringsFunction · 0.85
getAPIProviderFunction · 0.85

Tested by

no test coverage detected