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

Function isNonCustomOpusModel

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

Source from the content-addressed store, hash-verified

94}
95
96export function isNonCustomOpusModel(model: ModelName): boolean {
97 return (
98 model === getModelStrings().opus40 ||
99 model === getModelStrings().opus41 ||
100 model === getModelStrings().opus45 ||
101 model === getModelStrings().opus46
102 )
103}
104
105/**
106 * 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