# ─── Telegram ─────────────────────────────────────────────── # Get from @BotFather on Telegram TELEGRAM_BOT_TOKEN=your_bot_token_here # ─── LLM Provider ─────────────────────────────────────────── # Choose ONE provider and fill its key # Minimax MINIMAX_API_KEY=your_minimax_api_key_here # Anthropic (Claude) (optional) # ANTHROPIC_API_KEY=sk-ant-... # OpenAI (optional) # OPENAI_API_KEY=sk-... # Google Gemini (optional) # GOOGLE_API_KEY=... # ─── Agent Config ─────────────────────────────────────────── # Model to use — if omitted, uses the model from ~/.pi/agent/settings.json # Minimax: MiniMax-M2.7, MiniMax-M2.7-highspeed # Anthropic: claude-sonnet-4-5, claude-opus-4-5 # OpenAI: gpt-4o, gpt-4o-mini # AGENT_MODEL_PROVIDER=minimax # AGENT_MODEL_ID=MiniMax-M2.7 # System prompt for the agent (what personality/role it has) AGENT_SYSTEM_PROMPT=You are a helpful assistant. Be concise and clear in your responses. When you use tools, briefly explain what you are doing. # ─── Session Config ───────────────────────────────────────── # Where to store per-user sessions (absolute path recommended) SESSIONS_DIR=./sessions # How many minutes of inactivity before a session is evicted from memory # (it stays on disk, just gets unloaded from RAM) SESSION_IDLE_TIMEOUT_MINUTES=30 # ─── Logging ──────────────────────────────────────────────── LOG_LEVEL=info LOG_DIR=./logs