-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (41 loc) · 1.75 KB
/
.env.example
File metadata and controls
50 lines (41 loc) · 1.75 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
# CleanSlice Runtime — environment variables
# Copy to .env and fill in values
# Telegram Bot
TELEGRAM_BOT_TOKEN=your-telegram-bot-token
TELEGRAM_BOT_NAME=your_TELEGRAM_BOT_NAME
TELEGRAM_BOT_ADMIN_IDS=your-telegram-user-id
# LLM
LLM_MODEL=claude-sonnet-4-6
LLM_FALLBACK_MODEL=claude-haiku-4-5
# Auxiliary LLM (background work: session compaction, memory flush, future
# curator/insights). Routing aux work to a smaller/cheaper model keeps the
# main session's prompt cache hot and reduces cost. All three vars are
# optional — when none are set, aux calls fall back to the main LLM.
# - LLM_AUX_MODEL alone reuses main provider/key with the smaller model.
# - LLM_AUX_PROVIDER + LLM_AUX_API_KEY route aux to a different provider.
# LLM_AUX_PROVIDER=claude
# LLM_AUX_MODEL=claude-haiku-4-5
# LLM_AUX_API_KEY=
# LLM_AUX_FALLBACK_MODEL=
# Anthropic OAuth token (from Claude.ai subscription)
# Supports multiple tokens as comma-separated list for automatic rotation:
# CLAUDE_CODE_OAUTH_TOKEN=token1,token2,token3
# When one token fails (auth error), the bot auto-switches to the next one.
# Get tokens via: claude /login (Claude Code CLI) or Claude.ai OAuth flow.
CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-...
# Optional: Anthropic API key as final fallback (never expires, pay-per-token)
# ANTHROPIC_API_KEY=sk-ant-api03-...
# Slack (optional)
# SLACK_BOT_TOKEN=xoxb-...
# SLACK_APP_TOKEN=xapp-...
# Secrets backend: "file" (dev) or "aws" (prod)
SECRET_PROVIDER=file
# AWS Secrets Manager (required if SECRET_PROVIDER=aws)
# AWS_REGION=us-east-1
# AWS_ACCESS_KEY_ID=AKIA...
# AWS_SECRET_ACCESS_KEY=...
# AWS_SECRET_PREFIX=cleanslice/users
# Bridle Chat (bot connects to API via WebSocket for admin chat)
# BRIDLE_API_URL=http://localhost:3333
# BRIDLE_AGENT_ID=
# BRIDLE_API_KEY=