Repository navigation
Expand file tree
/
Copy pathconfig.example.toml
More file actions
65 lines (52 loc) · 1.68 KB
/
Copy pathconfig.example.toml
File metadata and controls
65 lines (52 loc) · 1.68 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
# RIDAR detector configuration
#
# Usage:
# cp config.example.toml config.toml
# export RIDAR_ANALYZER_API_KEY="..."
# export RIDAR_VERIFIER_API_KEY="..."
#
# Then replace the model names and endpoints below.
# Never store API keys in this file.
# Detection mode. Normally leave this unset.
# Supported: "default", "analyzer-only", "verifier-only"
# mode = "default"
[analyzer]
# Claude Code CLI and Anthropic-compatible endpoint.
executable = "claude"
model = "your-analyzer-model"
base_url = "https://your-anthropic-compatible-endpoint"
api_key_env = "RIDAR_ANALYZER_API_KEY"
# "api_key": x-api-key authentication, used by the official Anthropic API.
# "auth_token": Authorization: Bearer, commonly used by compatible gateways.
auth_mode = "api_key"
# Timeouts: API_TIMEOUT_MS is milliseconds; MCP timeout is seconds.
api_timeout_ms = 3000000
mcp_tool_timeout = 900
# The Analyzer audits untrusted trajectories. bypassPermissions provides the
# required unattended access but should only be used in a controlled environment.
permission_mode = "bypassPermissions"
tools = [
"Bash",
"Read",
"Glob",
"Grep",
"Agent",
"WebSearch",
"WebFetch",
]
# Claude Code context compaction. Set to "" to omit --autocompact.
autocompact = "auto"
[verifier]
# Codex CLI and OpenAI-compatible Responses API endpoint.
executable = "codex"
model = "your-verifier-model"
base_url = "https://your-openai-compatible-endpoint/v1"
api_key_env = "RIDAR_VERIFIER_API_KEY"
# Codex provider configuration.
provider_name = "ridar-verifier"
wire_api = "responses"
reasoning_effort = "medium"
web_search = "live"
multi_agent = true
# Maximum wait for one Verifier operation, in seconds.
timeout = 900