-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenhelm.example.toml
More file actions
53 lines (43 loc) · 1.67 KB
/
openhelm.example.toml
File metadata and controls
53 lines (43 loc) · 1.67 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
# openhelm configuration
# Copy to $HOME/openhelm.toml and fill in your values.
[daemon]
socket_path = "/tmp/openhelm.sock"
log_level = "info"
[ai]
# provider = "openrouter" # "openai", "anthropic", or "openrouter" (auto-detected if omitted)
api_url = "https://openrouter.ai/api/v1"
api_key = "<API_KEY>"
model = "<MODEL>"
system_prompt = """
You are a helpful assistant with access to tools on the host system.
Use them carefully and only when necessary.
"""
session_timeout_minutes = 30
[telegram]
bot_token = "<BOT_TOKEN>"
[profiles.ricard]
system_prompt = "You are a coding assistant. Help with code, files, and projects."
# Per-profile provider override (optional).
# When set, this profile uses its own AI provider instead of the global [ai] one.
# Any field not set here falls back to the global [ai] value.
# provider = "anthropic" # "openai", "anthropic", or "openrouter"
# api_url = "https://api.anthropic.com"
# api_key = "<PROFILE_SPECIFIC_API_KEY>"
# model = "claude-sonnet-4-20250514"
[profiles.ricard.permissions]
fs = true
[profiles.ricard.fs]
read = ["/home/ricard/docs"]
read_dir = ["/home/ricard/docs"]
write = [] # empty = operation disabled
mkdir = []
[profiles.ricard.permissions.skills.github]
token = "<GITHUB_TOKEN>"
[profiles.ricard.permissions.skills.http] # keep it empty to enable http access (or remove it to disable http access)
max_body_bytes = 15728640 # 15 MiB
[profiles.ricard.attachments]
enabled = true
allowed_extensions = ["txt", "csv", "pdf", "jpg", "jpeg", "png", "gif", "webp"]
max_file_size_bytes = 5242880 # 5 MiB
[audit]
log_path = "/home/ricard/.local/share/openhelm/audit.log"