94493d57de
repair
70 lines
2.6 KiB
Bash
70 lines
2.6 KiB
Bash
# Copy to:
|
|
# /mnt/user/appdata/hermes-agent/data/.env
|
|
#
|
|
# This file is read by Hermes itself inside /opt/data/.env.
|
|
# Do not commit the real file.
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# API server / dashboard integration
|
|
# -----------------------------------------------------------------------------
|
|
API_SERVER_ENABLED=true
|
|
API_SERVER_HOST=0.0.0.0
|
|
API_SERVER_PORT=8642
|
|
API_SERVER_KEY=replace-with-a-long-random-secret
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Primary model selection
|
|
# Recommended production default for this homelab:
|
|
# use OpenAI-compatible GPT access as the primary provider.
|
|
#
|
|
# Hermes' official provider docs explicitly support OpenAI-compatible endpoints.
|
|
# We therefore use the documented custom-endpoint path for api.openai.com.
|
|
#
|
|
# Choose one provider/model pair and fill the matching credentials below.
|
|
# Hermes requires at least 64k context window.
|
|
# -----------------------------------------------------------------------------
|
|
HERMES_MODEL_PROVIDER=custom
|
|
HERMES_MODEL_NAME=gpt-5.4
|
|
HERMES_MODEL_BASE_URL=https://api.openai.com/v1
|
|
|
|
# Provider credentials
|
|
OPENROUTER_API_KEY=
|
|
ANTHROPIC_API_KEY=
|
|
OPENAI_API_KEY=
|
|
|
|
# Optional: switch the main model to Ollama on the gaming PC
|
|
# HERMES_MODEL_PROVIDER=custom
|
|
# HERMES_MODEL_NAME=qwen3.5:32b
|
|
# HERMES_MODEL_BASE_URL=http://192.168.178.103:11434/v1
|
|
# OPENAI_API_KEY=ollama
|
|
|
|
# Optional: keep a note of your preferred GPT model here for operations docs
|
|
# Example only - set to the exact OpenAI model ID you actually use:
|
|
# HERMES_PRIMARY_LABEL=gpt-via-openai-api
|
|
|
|
# Optional: extra web-search provider for web tools
|
|
TAVILY_API_KEY=
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Messaging gateway
|
|
# Enable only the platforms you actually use.
|
|
# -----------------------------------------------------------------------------
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_ALLOWED_USERS=
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Home Assistant integration
|
|
# HASS_TOKEN enables the homeassistant toolset automatically.
|
|
# -----------------------------------------------------------------------------
|
|
HASS_TOKEN=
|
|
HASS_URL=http://homeassistant.local:8123
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# SSH terminal backend
|
|
# Hermes will execute terminal commands on the dedicated runner.
|
|
# -----------------------------------------------------------------------------
|
|
TERMINAL_SSH_HOST=192.168.178.143
|
|
TERMINAL_SSH_USER=hermes
|
|
TERMINAL_SSH_PORT=22
|
|
TERMINAL_SSH_KEY=/home/hermes/.ssh/id_ed25519
|