2026-02-20 20:17:00 +00:00
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Meister-Eder Email Agent — Configuration Template
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Copy this file to .env and fill in your values.
|
|
|
|
|
# The .env file must NOT be committed to version control.
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2026-02-23 22:18:28 +01:00
|
|
|
# AI Models (via litellm — supports any provider)
|
2026-02-20 20:17:00 +00:00
|
|
|
# ---------------------------------------------------------------
|
2026-02-21 07:35:37 +00:00
|
|
|
# Use litellm model strings: "<provider>/<model-name>"
|
2026-02-23 22:18:28 +01:00
|
|
|
#
|
|
|
|
|
# AI_MODEL — primary model for conversation with parents (complex reasoning).
|
|
|
|
|
# SIMPLE_MODEL — lightweight model for simple tasks, e.g. email-label translation.
|
|
|
|
|
# Can be from a different provider than AI_MODEL.
|
|
|
|
|
# If unset, falls back to AI_MODEL with a warning in the logs.
|
|
|
|
|
#
|
|
|
|
|
# Examples — mixing providers:
|
2026-02-23 22:51:04 +01:00
|
|
|
# AI_MODEL=gemini/gemini-3-pro-preview + SIMPLE_MODEL=gemini/gemini-3-flash-preview
|
2026-02-23 22:18:28 +01:00
|
|
|
# AI_MODEL=anthropic/claude-opus-4-6 + SIMPLE_MODEL=anthropic/claude-haiku-4-5-20251001
|
|
|
|
|
# AI_MODEL=gemini/gemini-3-pro-preview + SIMPLE_MODEL=anthropic/claude-haiku-4-5-20251001
|
2026-02-21 07:35:37 +00:00
|
|
|
AI_MODEL=anthropic/claude-opus-4-6
|
2026-02-23 22:18:28 +01:00
|
|
|
SIMPLE_MODEL=anthropic/claude-haiku-4-5-20251001
|
2026-02-20 20:17:00 +00:00
|
|
|
|
2026-02-22 19:55:23 +00:00
|
|
|
# Extended thinking — Anthropic models only (leave unset to disable).
|
|
|
|
|
# Enables a reasoning phase before the model's reply, which improves
|
|
|
|
|
# accuracy on age calculations, logic-heavy questions, and edge cases.
|
|
|
|
|
# Recommended value: 8000 (tokens). Must be less than max_tokens.
|
|
|
|
|
# THINKING_BUDGET=8000
|
|
|
|
|
|
2026-02-20 20:17:00 +00:00
|
|
|
# ---------------------------------------------------------------
|
2026-02-21 07:35:37 +00:00
|
|
|
# API Keys — set the one matching your chosen model's provider
|
2026-02-20 20:17:00 +00:00
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
ANTHROPIC_API_KEY=sk-ant-...
|
|
|
|
|
# OPENAI_API_KEY=sk-...
|
2026-02-21 07:35:37 +00:00
|
|
|
# GEMINI_API_KEY=...
|
2026-02-20 20:17:00 +00:00
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Email — IMAP (receiving parent messages)
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
IMAP_HOST=imap.example.com
|
|
|
|
|
IMAP_PORT=993
|
|
|
|
|
IMAP_USERNAME=anmeldung@example.com
|
|
|
|
|
IMAP_PASSWORD=your-imap-password
|
|
|
|
|
IMAP_USE_SSL=true
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Email — SMTP (sending replies and notifications)
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
SMTP_HOST=smtp.example.com
|
|
|
|
|
SMTP_PORT=587
|
|
|
|
|
SMTP_USE_TLS=true
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Registration email address (displayed as sender to parents)
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
REGISTRATION_EMAIL=anmeldung@example.com
|
|
|
|
|
|
2026-02-21 21:23:51 +00:00
|
|
|
# ---------------------------------------------------------------
|
2026-02-21 21:31:49 +00:00
|
|
|
# Admin notification routing
|
|
|
|
|
# Each leader receives mail only when a day in their group is booked.
|
|
|
|
|
# ADMIN_EMAIL_CC is always included as Cc (comma-separated for multiple).
|
|
|
|
|
# For testing, point all three to your own email address.
|
2026-02-21 21:23:51 +00:00
|
|
|
# ---------------------------------------------------------------
|
2026-02-27 16:02:00 +00:00
|
|
|
ADMIN_EMAIL_INDOOR=indoor-leader@example.com
|
|
|
|
|
ADMIN_EMAIL_OUTDOOR=outdoor-leader@example.com
|
2026-02-21 21:31:49 +00:00
|
|
|
ADMIN_EMAIL_CC=spielgruppen@familien-verein.ch
|
2026-02-21 21:23:51 +00:00
|
|
|
|
2026-02-20 20:17:00 +00:00
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Storage
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Directory for conversation state and completed registrations.
|
|
|
|
|
DATA_DIR=data
|
|
|
|
|
|
|
|
|
|
# Path to the knowledge-base markdown files (admin-editable).
|
|
|
|
|
KNOWLEDGE_BASE_DIR=openspec/changes/define-project-scope/content/knowledge-base
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Polling
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# How often (in seconds) to check the inbox for new messages.
|
|
|
|
|
POLL_INTERVAL=60
|
2026-02-22 20:45:33 +01:00
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Web chat server
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Listen on all interfaces so the app is reachable from outside localhost.
|
|
|
|
|
CHAINLIT_HOST=0.0.0.0
|