MCPcopy Create free account
hub / github.com/WJX20/claude-code / getDefaultEffortLevelForOption

Function getDefaultEffortLevelForOption

src/components/ModelPicker.tsx:443–447  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

441 }
442}
443function getDefaultEffortLevelForOption(value?: string): EffortLevel {
444 const resolved = resolveOptionModel(value) ?? getDefaultMainLoopModel();
445 const defaultValue = getDefaultEffortForModel(resolved);
446 return defaultValue !== undefined ? convertEffortValueToLevel(defaultValue) : 'high';
447}

Callers 1

ModelPickerFunction · 0.85

Calls 4

resolveOptionModelFunction · 0.85
getDefaultMainLoopModelFunction · 0.85
getDefaultEffortForModelFunction · 0.85

Tested by

no test coverage detected