15 lines
509 B
Python
15 lines
509 B
Python
"""Hermes execution environment backends.
|
|
|
|
Each backend provides the same interface (BaseEnvironment ABC) for running
|
|
shell commands in a specific execution context: local, Docker, SSH,
|
|
Singularity, Modal, or Daytona. (Modal additionally has direct and
|
|
Nous-managed modes, selected via terminal.modal_mode.)
|
|
|
|
The terminal_tool.py factory (_create_environment) selects the backend
|
|
based on the TERMINAL_ENV configuration.
|
|
"""
|
|
|
|
from tools.environments.base import BaseEnvironment
|
|
|
|
__all__ = ["BaseEnvironment"]
|