MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / _normalize_mode

Function _normalize_mode

src/web/routes/selfcheck.py:61–62  ·  view source on GitHub ↗
(value: Optional[str])

Source from the content-addressed store, hash-verified

59
60
61def _normalize_mode(value: Optional[str]) -> str:
62 return "full" if str(value or "").strip().lower() == "full" else "quick"
63
64
65def _resolve_actor_header(request: Optional[Request]) -> str:

Callers 5

api_start_selfcheck_runFunction · 0.70
api_selfcheck_run_nowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected