diff --git a/ct/hermesagent.sh b/ct/hermesagent.sh index cdf3d87d..85121b4b 100644 --- a/ct/hermesagent.sh +++ b/ct/hermesagent.sh @@ -66,7 +66,7 @@ description msg_ok "Completed successfully!\n" echo -e "${CREATING}${GN}Hermes Agent setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW} Configure your model provider and gateway server:${CL}" +echo -e "${INFO}${YW} Configure your model provider and gateway server inside the container:${CL}" echo -e "${TAB}${BGN}hermes-setup${CL}" echo -e "${INFO} When prompted to install the gateway service, choose 'user service'.${CL}" echo -e "${INFO}${YW} Key for Hermes API Server stored in:${CL}" diff --git a/install/hermesagent-install.sh b/install/hermesagent-install.sh index 0707f2f2..7c4c442d 100644 --- a/install/hermesagent-install.sh +++ b/install/hermesagent-install.sh @@ -96,14 +96,6 @@ msg_ok "Created Dashboard Service" msg_info "Creating Setup Helper" cat <<'SETUP' >/usr/bin/hermes-setup #!/usr/bin/env bash -if [[ "$(id -u)" -ne 0 ]]; then - echo "Error: hermes-setup must be run as root." >&2 - exit 1 -fi -if [[ ! -x /home/hermes/.local/bin/hermes ]]; then - echo "Error: Hermes Agent is not installed." >&2 - exit 1 -fi set -a; source /etc/default/hermes; set +a /home/hermes/.local/bin/hermes setup chown -R hermes:hermes /home/hermes