MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / isNonCustomOpusModel

Function isNonCustomOpusModel

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

Source from the content-addressed store, hash-verified

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