mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix: stop local terminal warning without minisweagent
This commit is contained in:
parent
607689095e
commit
329f83ff2d
2 changed files with 17 additions and 1 deletions
|
|
@ -1130,7 +1130,8 @@ def check_terminal_requirements() -> bool:
|
|||
|
||||
try:
|
||||
if env_type == "local":
|
||||
from minisweagent.environments.local import LocalEnvironment
|
||||
# Local execution uses Hermes' own LocalEnvironment wrapper and does
|
||||
# not depend on minisweagent being importable.
|
||||
return True
|
||||
elif env_type == "docker":
|
||||
from minisweagent.environments.docker import DockerEnvironment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue