-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
101 lines (89 loc) · 4.43 KB
/
.env.example
File metadata and controls
101 lines (89 loc) · 4.43 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
97
98
99
100
101
# bubseek environment example
# Copy to `.env` and fill values. bubseek forwards these to the Bub subprocess.
# ---------------------------------------------------------------------------
# Model (required)
# ---------------------------------------------------------------------------
BUB_MODEL=openrouter:qwen/qwen3-coder-next
BUB_API_KEY=sk-or-v1-...
BUB_API_BASE=https://openrouter.ai/api/v1
# ---------------------------------------------------------------------------
# Agent runtime (optional)
# ---------------------------------------------------------------------------
# BUB_MAX_STEPS=50
# BUB_MAX_TOKENS=1024
# BUB_MODEL_TIMEOUT_SECONDS=300
# BUB_HOME=~/.bub
# ---------------------------------------------------------------------------
# LangChain / DeepAgents via DashScope (optional)
# Enable when using `bubseek-langchain` as the model backend.
# ---------------------------------------------------------------------------
# BUB_LANGCHAIN_MODE=runnable
# BUB_LANGCHAIN_FACTORY=examples.langchain.deepagents_dashscope:dashscope_deep_agent
# BUB_LANGCHAIN_INCLUDE_BUB_TOOLS=true
# BUB_LANGCHAIN_TAPE=true
# Example-specific overrides are optional. If omitted, the DeepAgents example
# derives the raw chat model name from BUB_MODEL by stripping the provider prefix.
# Example:
# BUB_MODEL=openai:glm-5.1
# BUB_API_KEY=your-dashscope-api-key
# BUB_API_BASE=https://dashscope.aliyuncs.com/compatible-mode/v1
# BUB_DEEPAGENTS_MODEL=glm-5.1
# BUB_DEEPAGENTS_API_KEY=your-dashscope-api-key
# BUB_DEEPAGENTS_API_BASE=https://dashscope.aliyuncs.com/compatible-mode/v1
# ---------------------------------------------------------------------------
# Database (required for tape storage)
# ---------------------------------------------------------------------------
BUB_TAPESTORE_SQLALCHEMY_URL=mysql+oceanbase://user:pass@host:port/database
# ---------------------------------------------------------------------------
# Web search tool (optional, bundled)
# ---------------------------------------------------------------------------
# BUB_SEARCH_OLLAMA_API_KEY=your-ollama-api-key
# BUB_SEARCH_OLLAMA_API_BASE=https://ollama.com/api
# ---------------------------------------------------------------------------
# Feishu channel (optional, bundled)
# ---------------------------------------------------------------------------
# BUB_FEISHU_APP_ID=your-app-id
# BUB_FEISHU_APP_SECRET=your-app-secret
# BUB_FEISHU_VERIFICATION_TOKEN=your-verification-token
# BUB_FEISHU_ENCRYPT_KEY=your-encrypt-key
# BUB_FEISHU_ALLOW_USERS=user1,user2
# BUB_FEISHU_ALLOW_CHATS=chat1,chat2
# ---------------------------------------------------------------------------
# DingTalk channel (optional, bundled)
# ---------------------------------------------------------------------------
# BUB_DINGTALK_CLIENT_ID=your-appkey
# BUB_DINGTALK_CLIENT_SECRET=your-appsecret
# BUB_DINGTALK_ALLOW_USERS=*
# ---------------------------------------------------------------------------
# WeChat channel (optional, bundled)
# Run `uv run bub login wechat` to authenticate
# ---------------------------------------------------------------------------
# WeCom channel (optional, bundled)
# ---------------------------------------------------------------------------
# BUB_WECOM_BOT_ID=your-bot-id
# BUB_WECOM_SECRET=your-long-connection-secret
# BUB_WECOM_WEBSOCKET_URL=wss://openws.work.weixin.qq.com
# BUB_WECOM_DM_POLICY=open
# BUB_WECOM_ALLOW_FROM=["alice","bob"]
# BUB_WECOM_GROUP_POLICY=open
# BUB_WECOM_GROUP_ALLOW_FROM=["wrXXX","wrYYY"]
# ---------------------------------------------------------------------------
# Discord channel (optional, bundled)
# ---------------------------------------------------------------------------
# BUB_DISCORD_TOKEN=your-bot-token
# BUB_DISCORD_ALLOW_USERS=user1,user2
# BUB_DISCORD_ALLOW_CHANNELS=channel1,channel2
# ---------------------------------------------------------------------------
# Telegram channel (optional, built-in via bub)
# ---------------------------------------------------------------------------
# BUB_TELEGRAM_TOKEN=your-bot-token
# BUB_TELEGRAM_ALLOW_USERS=123456789,username
# BUB_TELEGRAM_ALLOW_CHATS=123456789,-1001234567890
# BUB_TELEGRAM_PROXY=http://127.0.0.1:1080
# ---------------------------------------------------------------------------
# Marimo channel (optional, bundled)
# ---------------------------------------------------------------------------
# BUB_MARIMO_HOST=127.0.0.1
# BUB_MARIMO_PORT=2718
# BUB_MARIMO_WORKSPACE=/path/to/workspace
# BUB_MARIMO_MARIMO_PORT=2719