The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(a2a): tools._load_config reads config through load_config_readonly
teknium13bee76a2729a
diff --git a/plugins/platforms/a2a/tools.py b/plugins/platforms/a2a/tools.pyindex 044d5153d62..c3c8512edba 100644--- a/plugins/platforms/a2a/tools.py+++ b/plugins/platforms/a2a/tools.py@@ -24,11 +24,9 @@ _ORCHESTRATE_MAX_WORKERS = 6 # max parallel peers for fan-outdef _load_config() -> dict:- try:- from hermes_cli.config import load_config- return load_config() or {}- except Exception:- return {}+ """Read-only view of config.yaml; peers are only read, never mutated (cache-safe)."""+ from hermes_cli.config import load_config_readonly+ return load_config_readonly() or {}def _configured_peers() -> dict: