File size: 2,144 Bytes
23ba9c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# ── Required ──────────────────────────────────────────────────────────
GATEWAY_TOKEN=change-me-to-a-strong-random-string
LLM_API_KEY=your-llm-provider-api-key
LLM_MODEL=openrouter/anthropic/claude-sonnet-4

# Examples for other providers:
# LLM_MODEL=openai/gpt-4o
# LLM_MODEL=anthropic/claude-sonnet-4-6
# LLM_MODEL=google/gemini-2.5-flash
# LLM_MODEL=deepseek/deepseek-chat
# LLM_MODEL=huggingface/Qwen/Qwen3-235B-A22B-Thinking-2507

# ── HF Dataset persistence (recommended) ──────────────────────────────
# Write-scope token: https://huggingface.co/settings/tokens
# HF_TOKEN=hf_xxx
# BACKUP_DATASET_NAME=huggingmes-backup
# Backup is change-driven: every push happens after the watched dirs have been
# quiet for SYNC_DEBOUNCE_SECONDS, capped at SYNC_INTERVAL even under constant
# writes. Drop these only if you understand the trade-off; lower = more pushes.
# SYNC_POLL_INTERVAL=2
# SYNC_DEBOUNCE_SECONDS=3
# SYNC_INTERVAL=60

# ── Optional: Cloudflare proxy + keep-alive ───────────────────────────
# CLOUDFLARE_WORKERS_TOKEN=cf_xxx
# CLOUDFLARE_ACCOUNT_ID=
# CLOUDFLARE_KEEPALIVE_CRON=*/10 * * * *

# ── Optional: Telegram bridge ─────────────────────────────────────────
# TELEGRAM_BOT_TOKEN=123456:ABC
# TELEGRAM_ALLOWED_USERS=11111111,22222222
# TELEGRAM_MODE=webhook

# ── Optional: swap the landing page to the HuggingMes status page ─────
# PRIMARY_UI=dashboard

# ── Optional: custom OpenAI-compatible endpoint ───────────────────────
# CUSTOM_BASE_URL=http://localhost:11434/v1
# CUSTOM_MODEL_CONTEXT_LENGTH=131072
# CUSTOM_MODEL_MAX_TOKENS=8192

# ── Reproducibility: pin the Hermes Agent base image ──────────────────
# HERMES_AGENT_VERSION=latest