MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _load_config

Function _load_config

uncommon_route/telemetry.py:78–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77
78def _load_config() -> dict[str, Any]:
79 path = _config_path()
80 if path.exists():
81 try:
82 return json.loads(path.read_text())
83 except Exception:
84 pass
85 return {}
86
87
88def _save_config(config: dict[str, Any]) -> None:

Callers 4

is_enabledFunction · 0.70
prompt_if_neededFunction · 0.70
enableFunction · 0.70
disableFunction · 0.70

Calls 1

_config_pathFunction · 0.85

Tested by

no test coverage detected