-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
52 lines (45 loc) · 2.33 KB
/
Copy pathconfig.example.toml
File metadata and controls
52 lines (45 loc) · 2.33 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
# ~/.config/antagonist/config.toml
# Every key is optional; built-in defaults apply when a key or the whole
# file is absent. Paths may use ~.
default_backend = "agy" # codex | agy | claude | anthropic | moonshot | local
timeout = 3600 # wall-clock seconds per run
idle_timeout = 300 # API backends: max seconds of stream silence
preflight_ttl = 86400 # seconds the harness/model currency check is cached
preflight_deadline = 40 # wall-clock seconds a cold currency fetch may take in total
split_parallel = 6 # --split: parts running at once
[codex]
effort = "max" # low | medium | high | xhigh | max
# model = "" # omit to use the account default
[agy]
effort = "high" # low | medium | high (pro models: low | high)
model = "gemini-3.1-pro" # effort is appended to pro slugs
tools = "auto" # read | exec | auto (exec when agy's settings allow sandboxed commands)
web = true # give the reviewer agy's web search tool
retries = 1 # extra attempts after an interrupted stream
nudges = 2 # corrective turns after agy refuses one of its own tool requests
linger = 180 # seconds of silence after the answer before the runner ends the turn (0 = never)
stall = 600 # seconds of silence with no answer before the attempt is ended and retried (0 = never)
quota_pause = 65 # seconds to wait before retrying after a per-minute quota error (HTTP 429)
# paths hidden from agy and its sandbox by an outer mount namespace (bwrap);
# agy mounts ~/.config and ~/.docker read-only into every sandbox. [] = none.
mask = ["~/.config/gh", "~/.config/gcloud", "~/.config/gws", "~/.docker"]
[claude]
effort = "max"
# model = "opus"
[anthropic]
effort = "max"
model = "claude-opus-5-5" # `antagonist preflight` says when a newer opus exists
key_file = "~/.config/antagonist/anthropic.key" # or $ANTHROPIC_API_KEY
base_url = "https://api.anthropic.com"
max_tokens = 64000
fallbacks = true # server-side refusal fallbacks
[moonshot]
effort = "max" # kimi-k3: low | high | max
model = "kimi-k3"
key_file = "~/.config/antagonist/moonshot.key" # or $MOONSHOT_API_KEY
base_url = "https://api.moonshot.ai/v1"
max_tokens = 32768
[local]
base_url = "http://127.0.0.1:11434/v1"
# model = "qwen3:32b"
max_tokens = 32768