-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.toml
More file actions
27 lines (21 loc) · 879 Bytes
/
config.example.toml
File metadata and controls
27 lines (21 loc) · 879 Bytes
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
# iCrab — copy to ~/.icrab/config.toml then replace placeholders with your values.
# Or set secrets via env: TELEGRAM_BOT_TOKEN, ICRAB_LLM_API_KEY, ICRAB_LLM_MODEL, etc.
workspace = "~/.icrab/workspace"
restrict-to-workspace = true
[telegram]
bot-token = "YOUR_TELEGRAM_BOT_TOKEN"
allowed-user-ids = [] # e.g. [123456789] or leave [] (behavior depends on your code)
[llm]
provider = "openrouter"
api-base = "https://openrouter.ai/api/v1"
api-key = "YOUR_LLM_API_KEY"
model = "YOUR_MODEL"
[heartbeat]
interval-minutes = 30
# Your IANA timezone name — used for local time in the agent prompt.
# Handles DST automatically; no need to update when clocks change.
# Default if absent: Europe/London.
# timezone = "Europe/London"
# Optional: Brave web search. Leave commented or set ICRAB_TOOLS_WEB_BRAVE_API_KEY in env.
# [tools.web]
# brave-api-key = "YOUR_BRAVE_API_KEY"