-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (44 loc) · 2.14 KB
/
.env.example
File metadata and controls
54 lines (44 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# nanobot Serverless Deployment Configuration
# Copy this file to .env and fill in your values
# ============================================
# Required: LLM Provider Configuration
# ============================================
# Get your API key from: https://openrouter.ai/keys
NANOBOT_OPENROUTER_API_KEY=sk-or-v1-your-api-key-here
# Model identifier (default: anthropic/claude-opus-4-5)
# You can use minimax/minimax-m2 for lower cost
NANOBOT_MODEL=anthropic/claude-opus-4-5
# ============================================
# Required: Telegram Bot Configuration
# ============================================
# Create a bot with @BotFather on Telegram
TELEGRAM_BOT_TOKEN=123456789:ABCdefGHIjklMNOpqrsTUVwxyz
# Comma-separated list of allowed user IDs
# Get your user ID from @userinfobot on Telegram
TELEGRAM_ALLOWED_USERS=123456789,987654321
# ============================================
# Optional: MongoDB Configuration (deprecated - using GCS only)
# ============================================
# MongoDB is no longer required - all data is stored in GCS files
# MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/nanobot?retryWrites=true&w=majority
# ============================================
# Optional: Web Search Configuration
# ============================================
# Get your API key from: https://brave.com/search/api/
BRAVE_SEARCH_API_KEY=BSA-your-api-key-here
# ============================================
# Optional: Advanced Configuration
# ============================================
# Custom OpenRouter API base URL (default: https://openrouter.ai/api/v1)
# NANOBOT_OPENROUTER_API_BASE=https://openrouter.ai/api/v1
# Log level (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO
# ============================================
# Required: Google Cloud Storage Configuration
# ============================================
# GCS bucket name for persistent file storage (auto-created by deploy script if not set)
# Format: your-project-id-nanobot-files
# All chat history, sessions, and files are stored here
GCS_BUCKET_NAME=your-project-id-nanobot-files
# GCP Project ID (usually set automatically by deploy script)
# GCP_PROJECT_ID=your-project-id