Repository navigation
Expand file tree
/
Copy pathhrns.example.toml
More file actions
75 lines (63 loc) · 2.09 KB
/
Copy pathhrns.example.toml
File metadata and controls
75 lines (63 loc) · 2.09 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
# model to use if the agent doesn't specify one
#default_model = "openai-compatible/qwen3.5-27b:UD-Q4_K_XL"
# max output tokens (including reasoning)
#default_max_tokens = 16384
# max tool-use turns before stopping (default: 32)
#default_max_turns = 32
# fallback system prompt when no -s flag is given and no agent body sets one
#default_system_prompt = "you are a helpful assistant."
# max bytes of tool-call output rendered to stderr; full content is spooled to
# $XDG_CACHE_HOME/hrns/<pid>/<seq>.txt with a hint pointing at the file.
# set to 0 to disable truncation entirely (default: 2000)
#tool_output_truncate = 2000
# tools: register tools with the LLM. keys are gitignore-style globs
# matched against the tool name; most specific match wins. unmatched
# tools default to false. use "*" to set a default for all.
#[tools]
#"*" = false
#read = true
#bash = true
# permissions: control access levels (allow/ask/deny) per tool. the
# outer key is also a glob over tool names (most specific wins,
# default deny). the inner value is either a single level or a
# pattern map keyed by gitignore-style globs.
#[permissions]
#"*" = "deny"
#read = "allow"
# or with gitignore-style glob patterns (most specific wins):
#[permissions.read]
#"**" = "allow"
#"/etc/shadow" = "deny"
#[permissions.bash]
#"**" = "deny"
#"apt update" = "allow"
# hooks: gate which discovered hook scripts are loaded. keyed by the
# hook's declared `name` (returned in `discover`, defaulting to file
# stem). same glob semantics as [tools]; default false.
#[hooks]
#"*" = false
#observe = true
#datetime = true
# skills: gate which skills can be loaded into a system prompt. keyed
# by skill name (the file stem). same glob semantics as [tools];
# default false.
#[skills]
#"*" = false
#init = true
#[[providers]]
#name = "openai-compatible"
#client = "openai_completions"
#api_key = "fake"
#base_url = "http://localhost:7860/v1"
#[[providers]]
#name = "openai"
#client = "openai"
#api_key = "sk-..."
#[[providers]]
#name = "anthropic"
#client = "anthropic"
#api_key = "sk-ant-..."
#[[providers]]
#name = "gemini"
#client = "gemini"
#api_key = "AIzaSy..."