-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.env.example
More file actions
40 lines (35 loc) · 2.02 KB
/
Copy path.env.example
File metadata and controls
40 lines (35 loc) · 2.02 KB
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
# Copy this file to `.env` and fill in your own values.
# Never commit your real `.env` — it is in `.gitignore` for a reason.
# ─── Telegram ─────────────────────────────────────────────────────────
# Get a bot token from @BotFather on Telegram.
TELEGRAM_BOT_TOKEN=
# Password admins type to unlock /admin commands. Pick something strong.
ADMIN_PASSWORD=
# ─── LLM (OpenAI) ─────────────────────────────────────────────────────
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-mini
OPENAI_MAX_TOKENS=500
OPENAI_TEMPERATURE=0.9
# Reserved for future multi-provider support; currently only `openai` works.
LLM_PROVIDER=openai
# ─── PostgreSQL ───────────────────────────────────────────────────────
# Defaults below match the included docker-compose.yml so you can just run
# `docker compose up -d` and have a working DB. Change them if you're using
# your own Postgres instance.
DB_USER=postgres
DB_HOST=localhost
DB_NAME=postgres
DB_PASSWORD=local
DB_PORT=5432
# Set to `true` for hosted Postgres (Render, Heroku, Supabase, etc.) that
# requires SSL. Leave `false` for the included docker-compose or a local
# Postgres install without SSL.
DB_SSL=false
# ─── Webhook (optional, production only) ──────────────────────────────
# Leave WEBHOOK_URL blank to run in polling mode (default, easier for dev).
# Set both for production webhook mode behind HTTPS.
PORT=3000
WEBHOOK_URL=
# ─── Limits ───────────────────────────────────────────────────────────
# Max websites an admin can add to a single agent's knowledge base.
MAX_WEBSITES=50