mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 06:51:16 +08:00
docs: add Daytona to batch_runner, process_registry, agent_loop, tool_context
Add daytona_image to batch_runner per-prompt container image overrides so batch processing works with the Daytona backend. Update inline comments in RL environment files (agent_loop, tool_context) and process_registry docstrings to include Daytona in backend lists.
This commit is contained in:
@@ -11,7 +11,7 @@ Tracks processes spawned via terminal(background=true), providing:
|
||||
|
||||
Background processes execute THROUGH the environment interface -- nothing
|
||||
runs on the host machine unless TERMINAL_ENV=local. For Docker, Singularity,
|
||||
Modal, and SSH backends, the command runs inside the sandbox.
|
||||
Modal, Daytona, and SSH backends, the command runs inside the sandbox.
|
||||
|
||||
Usage:
|
||||
from tools.process_registry import process_registry
|
||||
@@ -238,7 +238,7 @@ class ProcessRegistry:
|
||||
"""
|
||||
Spawn a background process through a non-local environment backend.
|
||||
|
||||
For Docker/Singularity/Modal/SSH: runs the command inside the sandbox
|
||||
For Docker/Singularity/Modal/Daytona/SSH: runs the command inside the sandbox
|
||||
using the environment's execute() interface. We wrap the command to
|
||||
capture the in-sandbox PID and redirect output to a log file inside
|
||||
the sandbox, then poll the log via subsequent execute() calls.
|
||||
|
||||
Reference in New Issue
Block a user