mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-21 07:55:08 +00:00
Update config.py
This commit is contained in:
parent
b51a5b201e
commit
8c475752be
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ def is_managed() -> bool:
|
|||
"""
|
||||
if os.getenv("HERMES_MANAGED", "").lower() in ("true", "1", "yes"):
|
||||
return True
|
||||
managed_marker = Path(os.getenv("HERMES_HOME", Path.home() / ".hermes")) / ".managed"
|
||||
managed_marker = Path(os.getenv("HERMES_HOME", str(Path.home() / ".hermes"))) / ".managed"
|
||||
return managed_marker.exists()
|
||||
|
||||
def managed_error(action: str = "modify configuration"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue