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

Function isLegacyModelRemapEnabled

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

Source from the content-addressed store, hash-verified

550 * Opt-out for the legacy Opus 4.0/4.1 → current Opus remap.
551 */
552export function isLegacyModelRemapEnabled(): boolean {
553 return !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP)
554}
555
556export function modelDisplayString(model: ModelSetting): string {
557 if (model === null) {

Callers 2

parseUserSpecifiedModelFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected