Skip to content

The agent that grows with you

fix(providers): the bound home layer keys on the home as a Path

Teknium2b88e99cfe9d
diff --git a/providers/__init__.py b/providers/__init__.py
index e309e0b4003..1ee3f2e511f 100644
--- a/providers/__init__.py
+++ b/providers/__init__.py
@@ -422,7 +422,7 @@ def _bound_home_layer() -> tuple[_HomeLayer, Path | None, str]:
try:
from hermes_constants import get_hermes_home, hermes_home_key
- home = get_hermes_home()
+ home = Path(get_hermes_home())
key = hermes_home_key(home)
except Exception:
home, key = None, ""