Skip to content

The agent that grows with you

rip out last is_termuxes

ethernet734d9bf10905
diff --git a/hermes_cli/cli_commands_mixin.py b/hermes_cli/cli_commands_mixin.py
index b7c6dabfa1a..25b736f71bf 100644
--- a/hermes_cli/cli_commands_mixin.py
+++ b/hermes_cli/cli_commands_mixin.py
@@ -27,7 +27,7 @@ from rich import box as rich_box
from rich.markup import escape as _escape
from rich.panel import Panel
-from hermes_constants import display_hermes_home, is_termux as _is_termux_environment
+from hermes_constants import display_hermes_home
from agent.turn_context import extract_api_content_sidecar
from hermes_cli.browser_connect import (
DEFAULT_BROWSER_CDP_URL,
@@ -673,15 +673,7 @@ class CLICommandsMixin:
doesn't fire for image-only clipboard content (e.g., VSCode terminal,
Windows Terminal with WSL2).
"""
- from cli import _DIM, _RST, _cprint, _termux_example_image_path
- if _is_termux_environment():
- _cprint(
- f" {_DIM}Clipboard image paste is not available on Termux β€” "
- f"use /image <path> or paste a local image path like "
- f"{_termux_example_image_path()}{_RST}"
- )
- return
-
+ from cli import _DIM, _RST, _cprint
from hermes_cli.clipboard import has_clipboard_image
if has_clipboard_image():
if self._try_attach_clipboard_image():
@@ -758,7 +750,7 @@ class CLICommandsMixin:
from cli import _DIM, _IMAGE_EXTENSIONS, _RST, _cprint, _resolve_attachment_path, _split_path_input, _termux_example_image_path
raw_args = (cmd_original.split(None, 1)[1].strip() if " " in cmd_original else "")
if not raw_args:
- hint = _termux_example_image_path() if _is_termux_environment() else "/path/to/image.png"
+ hint = "/path/to/image.png"
_cprint(f" {_DIM}Usage: /image <path> e.g. /image {hint}{_RST}")
return
@@ -775,8 +767,6 @@ class CLICommandsMixin:
_cprint(f" πŸ“Ž Attached image: {image_path.name}")
if _remainder:
_cprint(f" {_DIM}Now type your prompt (or use --image in single-query mode): {_remainder}{_RST}")
- elif _is_termux_environment():
- _cprint(f" {_DIM}Tip: type your next message, or run hermes chat -q --image {_termux_example_image_path(image_path.name)} \"What do you see?\"{_RST}")
def _handle_tools_command(self, cmd: str):
"""Handle /tools [list|disable|enable] slash commands.