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

Function getPublicModelName

src/utils/model/model.ts:538–544  ·  view source on GitHub ↗
(model: ModelName)

Source from the content-addressed store, hash-verified

536 * @returns "NCode {ModelName}" for public models, or "NCode ({model})" for non-public models
537 */
538export function getPublicModelName(model: ModelName): string {
539 const publicName = getPublicModelDisplayName(model)
540 if (publicName) {
541 return `NCode ${publicName}`
542 }
543 return `NCode (${model})`
544}
545
546/**
547 * Returns a full model name for use in this session, possibly after resolving

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected