MCPcopy Create free account
hub / github.com/Noumena-Network/code / renderModelSetting

Function renderModelSetting

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

Source from the content-addressed store, hash-verified

441}
442
443export function renderModelSetting(setting: ModelName | ModelAlias): string {
444 if (setting === 'opusplan') {
445 return 'Opus Plan'
446 }
447 if (isModelAlias(setting)) {
448 return capitalize(setting)
449 }
450 return renderModelName(setting)
451}
452
453// @[MODEL LAUNCH]: Add display name cases for the new model (base + [1m] variant if applicable).
454/**

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