mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix: improve gateway setup messaging for non-interactive environments
Updated the gateway setup function to provide clearer messaging when no terminal is available, enhancing user understanding of the installation process. This change ensures that users are informed to run 'hermes gateway install' later if the setup is skipped due to terminal unavailability.
This commit is contained in:
parent
95e3f4b001
commit
1538be45de
1 changed files with 2 additions and 2 deletions
|
|
@ -916,8 +916,8 @@ maybe_start_gateway() {
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ "$IS_INTERACTIVE" = false ]; then
|
||||
log_info "Gateway setup skipped (non-interactive). Run 'hermes gateway install' later."
|
||||
if ! [ -e /dev/tty ]; then
|
||||
log_info "Gateway setup skipped (no terminal available). Run 'hermes gateway install' later."
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue