41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
# =======================================================
|
|
# Antigravity (AGY) Telegram Bot Configuration
|
|
# =======================================================
|
|
|
|
# 1. Telegram Bot Token (from @BotFather)
|
|
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
|
|
|
|
# 2. Access Control & Security
|
|
# Comma-separated list of allowed Telegram user IDs (e.g. 12345678,98765432)
|
|
# To find your ID, message @userinfobot on Telegram.
|
|
ALLOWED_USER_IDS=
|
|
|
|
# Admin User IDs (has access to /exec command)
|
|
ADMIN_USER_IDS=
|
|
|
|
# Optional password to authorize users dynamically via "/auth <password>"
|
|
BOT_AUTH_PASSWORD=agysecret2026
|
|
|
|
# 3. Agent Configuration
|
|
# Optional: Set Gemini API key for high-speed SDK mode (or leave blank for local CLI mode)
|
|
GEMINI_API_KEY=
|
|
|
|
# Default model (gemini-3.7-flash-auto, gemini-3.7-flash, gemini-3.1-pro, claude-sonnet-4-6, etc.)
|
|
DEFAULT_MODEL=gemini-3.7-flash-auto
|
|
|
|
# Default reasoning effort (low, medium, high)
|
|
DEFAULT_EFFORT=high
|
|
|
|
# Default workspace directory on the server
|
|
DEFAULT_WORKSPACE=/root
|
|
|
|
# Default response language (e.g. fa (Persian/Farsi), en (English), etc.)
|
|
DEFAULT_LANGUAGE=fa
|
|
|
|
# Engine Mode: auto | sdk | cli | openai
|
|
ENGINE_PREFERENCE=auto
|
|
|
|
# Optional: Custom OpenAI / Ollama endpoint
|
|
OPENAI_BASE_URL=
|
|
OPENAI_API_KEY=
|