MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _levels

Function _levels

src/command_system/effort_command.py:111–119  ·  view source on GitHub ↗

The persistable effort levels (``low, medium, high, max``) — the single source of truth ``VALID_EFFORT_VALUES`` minus the empty ``""`` (which is ``auto``). Imported lazily so a bare ``import src.command_system`` does not pull the settings stack at module-import time (the discipline used

()

Source from the content-addressed store, hash-verified

109
110
111def _levels() -> tuple[str, ...]:
112 """The persistable effort levels (``low, medium, high, max``) — the single source
113 of truth ``VALID_EFFORT_VALUES`` minus the empty ``""`` (which is ``auto``).
114
115 Imported lazily so a bare ``import src.command_system`` does not pull the settings
116 stack at module-import time (the discipline used by ``app.py``/the advisor hook)."""
117 from src.settings.constants import VALID_EFFORT_VALUES
118
119 return tuple(v for v in VALID_EFFORT_VALUES if v)
120
121
122def _settings_effort() -> str:

Callers 2

_effort_optionsFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected