Skip to content

Fix misleading terminal tool description for Windows users#7667

Open
jiakeboge wants to merge 5 commits into
NousResearch:mainfrom
jiakeboge:fix-terminal-tool-description
Open

Fix misleading terminal tool description for Windows users#7667
jiakeboge wants to merge 5 commits into
NousResearch:mainfrom
jiakeboge:fix-terminal-tool-description

Conversation

@jiakeboge

@jiakeboge jiakeboge commented Apr 11, 2026

Copy link
Copy Markdown

Summary

Fixes #7672 by updating the terminal tool description to reflect Hermes' configurable execution backends.

The previous wording implied commands always ran in a Linux cloud environment, which was misleading for local
users, especially Windows users running with TERMINAL_ENV=local.

This PR makes the schema text backend-agnostic:

  • commands run in the configured environment
  • sandbox cleanup warnings only apply when sandboxes are actually configured

Scope

Text-only change in tools/terminal_tool.py.
No runtime behavior changes.

The previous description mentioned "Linux environment" and "cloud sandboxes"
which could confuse Windows users running in local mode into thinking the
agent was executing remotely.

Changes:
- "Linux environment" -> "configured environment (local machine, Docker
  container, or cloud sandbox depending on setup)"
- "cloud sandboxes" -> "Sandboxes (when configured)"

This makes the description accurately reflect that the execution environment
depends on the user's TERMINAL_ENV configuration.

🤖 Generated with [Qoder][https://qoder.com]
jiakeboge and others added 4 commits April 13, 2026 16:21
  Update code_execution_tool.py to use the same sandbox persistence wording
  already applied in terminal_tool.py.

  This avoids implying that cloud sandbox backends are the default session
  behavior, which is misleading for local backend users.

  Related to NousResearch#7667
Ensures the execute_code tool schema doesn't unconditionally claim
cloud sandbox usage, matching the terminal_tool fix for NousResearch#7672.

🤖 Generated with [Qoder][https://qoder.com]
@alt-glitch alt-glitch added type/docs Documentation improvements P3 Low — cosmetic, nice to have tool/terminal Terminal execution and process management labels Apr 29, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #8364 — both fix #7672 by making the terminal tool description backend-agnostic. No files_changed on this PR (empty diff or draft).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have tool/terminal Terminal execution and process management type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Terminal tool description is misleading for Windows users

3 participants