diff --git a/.env.example b/.env.example index 8768761..a95cbb9 100644 --- a/.env.example +++ b/.env.example @@ -49,6 +49,26 @@ BOT_STATUS=for mentions # Number of messages to remember per user (higher = more context, more tokens) MAX_CONVERSATION_HISTORY=20 +# Minutes of inactivity before starting a new conversation (5-1440) +CONVERSATION_TIMEOUT_MINUTES=60 + +# =========================================== +# Database (PostgreSQL) +# =========================================== +# PostgreSQL connection URL (if not set, uses in-memory storage) +# Format: postgresql+asyncpg://user:password@host:port/database +DATABASE_URL=postgresql+asyncpg://daemon:daemon@localhost:5432/daemon_boyfriend + +# Password for PostgreSQL when using docker-compose +POSTGRES_PASSWORD=daemon + +# Echo SQL statements for debugging (true/false) +# DATABASE_ECHO=false + +# Connection pool settings +# DATABASE_POOL_SIZE=5 +# DATABASE_MAX_OVERFLOW=10 + # =========================================== # Web Search (SearXNG) # ===========================================