MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getEffortEnvOverride

Function getEffortEnvOverride

src/utils/effort.ts:136–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134}
135
136export function getEffortEnvOverride(): EffortValue | null | undefined {
137 const envOverride = process.env.CLAUDE_CODE_EFFORT_LEVEL
138 return envOverride?.toLowerCase() === 'unset' ||
139 envOverride?.toLowerCase() === 'auto'
140 ? null
141 : parseEffortValue(envOverride)
142}
143
144/**
145 * Resolve the effort value that will actually be sent to the API for a given

Callers 5

resolveAppliedEffortFunction · 0.85
setEffortValueFunction · 0.85
showCurrentEffortFunction · 0.85
unsetEffortLevelFunction · 0.85
tipRegistry.tsFile · 0.85

Calls 1

parseEffortValueFunction · 0.85

Tested by

no test coverage detected