# === Eggent Configuration ===

# OpenAI (required for default model)
OPENAI_API_KEY=sk-...

# Anthropic (optional)
ANTHROPIC_API_KEY=sk-ant-...

# Google (optional)
GOOGLE_API_KEY=...

# OpenRouter (optional)
OPENROUTER_API_KEY=sk-or-...

# Tavily Search (optional - for web search)
TAVILY_API_KEY=tvly-...

# External integrations API token (optional fallback for /api/external/message)
EXTERNAL_API_TOKEN=replace-with-a-long-random-token

# App auth session secret (required for secure cookie signing)
EGGENT_AUTH_SECRET=replace-with-a-long-random-secret

# Telegram integration (optional; UI can auto-configure from bot token only)
TELEGRAM_BOT_TOKEN=
TELEGRAM_WEBHOOK_SECRET=
TELEGRAM_DEFAULT_PROJECT_ID=

# Docker runtime bind settings
APP_BIND_HOST=127.0.0.1
APP_PORT=3000

# Optional Docker runtime cache/temp paths (inside container).
# Defaults are defined in docker-compose.yml and usually do not need overrides.
# APP_TMP_DIR=/app/data/tmp
# PLAYWRIGHT_BROWSERS_PATH=/app/data/ms-playwright
# NPM_CONFIG_CACHE=/app/data/npm-cache
# XDG_CACHE_HOME=/app/data/.cache

# Optional CLI OAuth credential file overrides (for codex-cli / gemini-cli provider auth checks).
# Useful when Eggent runs under a different user than the CLI login user.
# CODEX_AUTH_FILE=/home/node/.codex/auth.json
# GEMINI_OAUTH_CREDS_FILE=/home/node/.gemini/oauth_creds.json
# GEMINI_SETTINGS_FILE=/home/node/.gemini/settings.json

APP_BASE_URL=http://localhost:3000
