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

Function getEffortNotificationText

src/components/EffortIndicator.ts:18–25  ·  view source on GitHub ↗
(
  effortValue: EffortValue | undefined,
  model: string,
)

Source from the content-addressed store, hash-verified

16 * Returns undefined if the model doesn't support effort.
17 */
18export function getEffortNotificationText(
19 effortValue: EffortValue | undefined,
20 model: string,
21): string | undefined {
22 if (!modelSupportsEffort(model)) return undefined
23 const level = getDisplayedEffortLevel(model, effortValue)
24 return `${effortLevelToSymbol(level)} ${level} · /effort`
25}
26
27export function effortLevelToSymbol(level: EffortLevel): string {
28 switch (level) {

Callers 1

PromptInputFunction · 0.85

Calls 3

modelSupportsEffortFunction · 0.85
getDisplayedEffortLevelFunction · 0.85
effortLevelToSymbolFunction · 0.85

Tested by

no test coverage detected