diff --git a/tools/code_execution_tool.py b/tools/code_execution_tool.py index 8b5f79455..bed4f2091 100644 --- a/tools/code_execution_tool.py +++ b/tools/code_execution_tool.py @@ -1327,8 +1327,7 @@ def build_execute_code_schema(enabled_sandbox_tools: set = None) -> dict: f"Available via `from hermes_tools import ...`:\n\n" f"{tool_lines}\n\n" "Limits: 5-minute timeout, 50KB stdout cap, max 50 tool calls per script. " - "terminal() is foreground-only (no background or pty). " - "If the session uses a cloud sandbox backend, treat it as resumable task state rather than a durable always-on machine.\n\n" + "terminal() is foreground-only (no background or pty).\n\n" "Print your final result to stdout. Use Python stdlib (json, re, math, csv, " "datetime, collections, etc.) for processing between tool calls.\n\n" "Also available (no import needed — built into hermes_tools):\n" diff --git a/tools/terminal_tool.py b/tools/terminal_tool.py index 3dfa786e1..90c4a7ea2 100644 --- a/tools/terminal_tool.py +++ b/tools/terminal_tool.py @@ -531,7 +531,6 @@ Working directory: Use 'workdir' for per-command cwd. PTY mode: Set pty=true for interactive CLI tools (Codex, Claude Code, Python REPL). Do NOT use vim/nano/interactive tools without pty=true — they hang without a pseudo-terminal. Pipe git output to cat if it might page. -Important: cloud sandboxes may be cleaned up, idled out, or recreated between turns. Persistent filesystem means files can resume later; it does NOT guarantee a continuously running machine or surviving background processes. Use terminal sandboxes for task work, not durable hosting. """ # Global state for environment lifecycle management