mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
chore: update how txt pasting ux feels
This commit is contained in:
parent
9db94e8521
commit
77b97b810a
8 changed files with 239 additions and 83 deletions
|
|
@ -14,7 +14,8 @@ def get_hermes_home() -> Path:
|
|||
Reads HERMES_HOME env var, falls back to ~/.hermes.
|
||||
This is the single source of truth — all other copies should import this.
|
||||
"""
|
||||
return Path(os.getenv("HERMES_HOME", Path.home() / ".hermes"))
|
||||
val = os.environ.get("HERMES_HOME", "").strip()
|
||||
return Path(val) if val else Path.home() / ".hermes"
|
||||
|
||||
|
||||
def get_default_hermes_root() -> Path:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue