MCPcopy
hub / github.com/codeaashu/claude-code / renderModelSetting

Function renderModelSetting

src/utils/model/model.ts:334–342  ·  view source on GitHub ↗
(setting: ModelName | ModelAlias)

Source from the content-addressed store, hash-verified

332}
333
334export function renderModelSetting(setting: ModelName | ModelAlias): string {
335 if (setting === 'opusplan') {
336 return 'Opus Plan'
337 }
338 if (isModelAlias(setting)) {
339 return capitalize(setting)
340 }
341 return renderModelName(setting)
342}
343
344// @[MODEL LAUNCH]: Add display name cases for the new model (base + [1m] variant if applicable).
345/**

Callers 2

LogoV2Function · 0.85
CondensedLogoFunction · 0.85

Calls 3

isModelAliasFunction · 0.85
capitalizeFunction · 0.85
renderModelNameFunction · 0.85

Tested by

no test coverage detected