-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
96 lines (69 loc) · 3.52 KB
/
.env.example
File metadata and controls
96 lines (69 loc) · 3.52 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Claude Code Telegram Bot - Environment Configuration Example
# Copy this file to .env and fill in your values
# =============================================================================
# Required Configuration
# =============================================================================
# Telegram Bot Token (get from @BotFather)
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
# Comma-separated list of allowed Telegram user IDs
ALLOWED_USER_IDS=123456789,987654321
# =============================================================================
# Claude CLI Configuration
# =============================================================================
# Path to Claude CLI executable (default: claude)
CLAUDE_CLI_PATH=claude
# Default working directory for new sessions
DEFAULT_WORKING_DIR=/path/to/your/projects
# =============================================================================
# Logging Configuration
# =============================================================================
# Log level: error, warn, info, debug (default: info)
LOG_LEVEL=info
# =============================================================================
# Voice Configuration
# =============================================================================
# Enable voice message support (default: false)
VOICE_ENABLED=false
# OpenAI API key for voice transcription (required if VOICE_ENABLED=true)
OPENAI_API_KEY=your_openai_api_key_here
# =============================================================================
# File Upload Configuration
# =============================================================================
# Enable file upload support (default: false)
FILE_UPLOAD_ENABLED=false
# Maximum file size in MB (default: 10)
MAX_FILE_SIZE_MB=10
# =============================================================================
# Notification Configuration
# =============================================================================
# JSON object for default notification preferences
# Keys: completion, error, warning, progress (all boolean)
NOTIFICATION_DEFAULTS={"completion":true,"error":true,"warning":true,"progress":false}
# =============================================================================
# Verbosity Configuration
# =============================================================================
# Default verbosity level: minimal, normal, verbose (default: normal)
DEFAULT_VERBOSITY=normal
# =============================================================================
# Streaming Configuration
# =============================================================================
# Enable streaming responses (default: true)
STREAMING_ENABLED=true
# Streaming mode: partial, block, off (default: partial)
# - partial: Stream partial responses as they become available
# - block: Send responses in blocks/chunks
# - off: Disable streaming, send complete responses only
STREAMING_MODE=partial
# Block size in characters when using 'block' mode (default: 50)
STREAMING_BLOCK_SIZE=50
# Minimum interval between updates in milliseconds (default: 200)
STREAMING_UPDATE_INTERVAL_MS=200
# =============================================================================
# Threaded Mode Configuration (Forum Topics)
# =============================================================================
# Enable forum topic/threaded mode (default: false)
THREADED_MODE_ENABLED=false
# Automatically create new topics for new conversations (default: false)
THREADED_AUTO_CREATE=false
# Prefix for auto-created topic names (default: empty)
THREADED_DEFAULT_TOPIC=