MCPcopy
hub / github.com/codeaashu/claude-code / isNonCustomOpusModel

Function isNonCustomOpusModel

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

Source from the content-addressed store, hash-verified

38}
39
40export function isNonCustomOpusModel(model: ModelName): boolean {
41 return (
42 model === getModelStrings().opus40 ||
43 model === getModelStrings().opus41 ||
44 model === getModelStrings().opus45 ||
45 model === getModelStrings().opus46
46 )
47}
48
49/**
50 * Helper to get the model from /model (including via /config), the --model flag, environment variable,

Callers 3

queryModelFunction · 0.85
withRetryFunction · 0.85

Calls 1

getModelStringsFunction · 0.70

Tested by

no test coverage detected