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

Function isModelFamilyAlias

src/utils/model/aliases.ts:31–33  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

29export const MODEL_FAMILY_ALIASES = ['sonnet', 'opus', 'haiku'] as const
30
31export function isModelFamilyAlias(model: string): boolean {
32 return (MODEL_FAMILY_ALIASES as readonly string[]).includes(model)
33}

Callers 2

familyHasSpecificEntriesFunction · 0.85
isModelAllowedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected