Only include the 4 required environment variables: - STEWARD__TELEGRAM__BOT_TOKEN - STEWARD__OPENAI__API_KEY - STEWARD__TELEGRAM__ALLOWED_USER_IDS - STEWARD__TELEGRAM__GROUP_IDS All other settings have sensible defaults in config_schema.yaml and can be overridden if needed. This keeps the example file clean and focused.
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Copy this file to .env and fill in your values.
|
|
# Never commit .env to version control.
|
|
|
|
# Telegram bot token from @BotFather
|
|
TELEGRAM_BOT_TOKEN=
|
|
|
|
# Comma-separated Telegram user IDs allowed to talk to Steward.
|
|
# Leave empty to allow everyone (not recommended for production).
|
|
TELEGRAM_ALLOWED_USER_IDS=
|
|
|
|
# OpenAI (or compatible) credentials
|
|
OPENAI_API_KEY=
|
|
OPENAI_BASE_URL=https://api.openai.com/v1
|
|
OPENAI_MODEL=gpt-4o
|
|
|
|
# Optional: override the default system prompt
|
|
# OPENAI_SYSTEM_PROMPT=
|
|
|
|
# Daily analysis target (optional)
|
|
# ANALYSIS_TARGET_URL=https://your-internal-api/endpoint
|
|
# ANALYSIS_TARGET_API_KEY=
|
|
# ANALYSIS_CRON_HOUR=8
|
|
# ANALYSIS_CRON_MINUTE=0
|
|
|
|
# Thread memory store path (JSON file for persisted thread summaries)
|
|
# THREAD_MEMORY_PATH=thread_memory.json
|
|
|
|
# MCP / OpenAPI tool server (open-webui/openapi-servers compatible)
|
|
# Point to any OpenAPI-spec tool server to enable LLM tool calling.
|
|
# The service fetches /openapi.json from MCP_SERVER_URL to discover tools.
|
|
# MCP_SERVER_URL=http://localhost:8000
|
|
# MCP_SERVER_API_KEY=
|