MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isLegacyModelRemapEnabled

Function isLegacyModelRemapEnabled

src/utils/model/model.ts:591–593  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

589 * Opt-out for the legacy Opus 4.0/4.1 → current Opus remap.
590 */
591export function isLegacyModelRemapEnabled(): boolean {
592 return !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP)
593}
594
595export function modelDisplayString(model: ModelSetting): string {
596 if (model === null) {

Callers 2

parseUserSpecifiedModelFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected