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

Function getInitialEffortSetting

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

Source from the content-addressed store, hash-verified

105}
106
107export function getInitialEffortSetting(): EffortLevel | undefined {
108 // toPersistableEffort filters 'max' for non-ants on read, so a manually
109 // edited settings.json doesn't leak session-scoped max into a fresh session.
110 return toPersistableEffort(getInitialSettings().effortLevel)
111}
112
113/**
114 * Decide what effort level (if any) to persist when the user selects a model

Callers 1

runFunction · 0.85

Calls 2

toPersistableEffortFunction · 0.85
getInitialSettingsFunction · 0.85

Tested by

no test coverage detected