The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(auth): note get_default_hermes_root in the global-store memo docstring
spfcraze2a5093eefffa
diff --git a/hermes_cli/auth.py b/hermes_cli/auth.pyindex efb120ab275..c10032c3052 100644--- a/hermes_cli/auth.py+++ b/hermes_cli/auth.py@@ -1106,7 +1106,8 @@ def _load_global_auth_store() -> Dict[str, Any]:Memoised keyed on the global auth file's path + mtime (same pattern as``_nous_auth_status_cache``): read_credential_pool() -> load_pool() runsthis once per provider row in the /model picker, and the path resolution- + JSON parse cost ~105us+ per call even when nothing changed. The global+ (``_global_auth_file_path()`` -> ``get_default_hermes_root()``) + JSON+ parse cost ~105us+ per call even when nothing changed. The globalstore only changes when the user authenticates at global scope (writesalways go through _save_auth_store, which touches the file), so the mtimekey keeps the memo freshness-correct. Callers must treat the returned