MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isModelFamilyAlias

Function isModelFamilyAlias

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

Source from the content-addressed store, hash-verified

21export const MODEL_FAMILY_ALIASES = ['sonnet', 'opus', 'haiku'] as const
22
23export function isModelFamilyAlias(model: string): boolean {
24 return (MODEL_FAMILY_ALIASES as readonly string[]).includes(model)
25}
26

Callers 2

familyHasSpecificEntriesFunction · 0.85
isModelAllowedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected