# Control bot token (get it from @BotFather) BOT_TOKEN= # Telegram user_id of the owner (ask @userinfobot). Only this user may use the bot. OWNER_TELEGRAM_ID= # Fernet key for sessions and API keys. Optional: when empty, the bot generates one on first start # and keeps it in data/encryption.key (back that file up together with the database). # If you already have a key here, leave it as is: changing it makes saved sessions unreadable. # Generate manually: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())" ENCRYPTION_KEY= # Database path (default data/app.db) DATABASE_URL=sqlite+aiosqlite:///data/app.db # Optional: override model names when a provider renames or retires one. # If a model is unavailable the bot tells you in the chat which variable to change. # OPENAI_CHAT_LIGHT=gpt-6.1-terra # OPENAI_CHAT_HEAVY=gpt-5.5 # OPENAI_EMBED=text-embedding-3-small # GEMINI_CHAT_LIGHT=gemini-3.6-flash # GEMINI_CHAT_HEAVY=gemini-3.1-pro-preview # GEMINI_EMBED=gemini-embedding-001 # Changing an embedding model (or its size) triggers a re-index: run /index again per chat. # Docker: the container runs as root by default. To run it without root, first give ./data to that # user on the host (sudo chown -R 10001:10001 data), then uncomment these. See the README. # APP_UID=10001 # APP_GID=10001