The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(cli): make procfs memory read BOM-tolerant for lint parity
ethernet1296b4e37c96
diff --git a/hermes_cli/local_runtime/hardware.py b/hermes_cli/local_runtime/hardware.pyindex 9665eaf558d..e3df442232e 100644--- a/hermes_cli/local_runtime/hardware.py+++ b/hermes_cli/local_runtime/hardware.py@@ -67,7 +67,7 @@ _LINUX_RAM_KEYS = frozenset({"MemTotal", "MemAvailable", "MemFree"})def _linux_meminfo_text() -> str | None:"""Raw /proc/meminfo, or None when procfs cannot be read."""try:- return Path("/proc/meminfo").read_text(encoding="utf-8")+ return Path("/proc/meminfo").read_text(encoding="utf-8-sig")except OSError:return None