-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathenv.example
More file actions
52 lines (44 loc) · 1.98 KB
/
env.example
File metadata and controls
52 lines (44 loc) · 1.98 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
# Bub environment example
# Copy to `.env` and fill values.
# ---------------------------------------------------------------------------
# Agent runtime
# ---------------------------------------------------------------------------
# Republic model format: provider:model_id
# Default in code is `openrouter:qwen/qwen3-coder-next`.
# BUB_MODEL=openrouter:qwen/qwen3-coder-next
# BUB_MAX_STEPS=50
# BUB_MAX_TOKENS=1024
# BUB_MODEL_TIMEOUT_SECONDS=300
# BUB_HOME=~/.bub
# ---------------------------------------------------------------------------
# API keys (choose one)
# ---------------------------------------------------------------------------
# `AgentSettings` reads `BUB_API_KEY` and `BUB_API_BASE` directly.
# Provider-specific keys such as `OPENROUTER_API_KEY` may still be used by
# the underlying SDK/provider setup, but are not read by Bub settings itself.
# Preferred explicit key
# BUB_API_KEY=sk-...
# Optional custom API base
# BUB_API_BASE=https://openrouter.ai/api/v1
# ---------------------------------------------------------------------------
# Channel manager
# ---------------------------------------------------------------------------
# Comma-separated channel names, or `all`.
# `all` excludes the builtin `cli` channel.
# BUB_ENABLED_CHANNELS=all
# BUB_DEBOUNCE_SECONDS=1.0
# BUB_MAX_WAIT_SECONDS=10.0
# BUB_ACTIVE_TIME_WINDOW=60.0
# ---------------------------------------------------------------------------
# Telegram channel (optional)
# ---------------------------------------------------------------------------
# BUB_TELEGRAM_TOKEN=123456:telegram-bot-token
# Comma-separated values:
# BUB_TELEGRAM_ALLOW_USERS=123456789,my_username
# BUB_TELEGRAM_ALLOW_CHATS=123456789,-1001234567890
# BUB_TELEGRAM_PROXY=http://127.0.0.1:1080
# ---------------------------------------------------------------------------
# Example minimal OpenRouter setup
# ---------------------------------------------------------------------------
# BUB_MODEL=openrouter:qwen/qwen3-coder-next
# BUB_API_KEY=sk-or-...