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

Function isNonCustomOpusModel

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

Source from the content-addressed store, hash-verified

56}
57
58export function isNonCustomOpusModel(model: ModelName): boolean {
59 return (
60 model === getModelStrings().opus40 ||
61 model === getModelStrings().opus41 ||
62 model === getModelStrings().opus45 ||
63 model === getModelStrings().opus46 ||
64 model === getModelStrings().opus47
65 )
66}
67
68/**
69 * 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