MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / renderModelSetting

Function renderModelSetting

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

Source from the content-addressed store, hash-verified

354}
355
356export function renderModelSetting(setting: ModelName | ModelAlias): string {
357 if (setting === 'opusplan') {
358 return 'Opus Plan'
359 }
360 if (isModelAlias(setting)) {
361 return capitalize(setting)
362 }
363 return renderModelName(setting)
364}
365
366// @[MODEL LAUNCH]: Add display name cases for the new model (base + [1m] variant if applicable).
367/**

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