-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathglm_codex_coding_plan.toml
More file actions
64 lines (56 loc) · 1.39 KB
/
Copy pathglm_codex_coding_plan.toml
File metadata and controls
64 lines (56 loc) · 1.39 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
# Experimental preset: GLM Coding Plan + Codex adversary
#
# This works with ForgeGod's current provider router, but Z.AI officially frames
# Coding Plan quota around supported/recognized coding tools. Use at your own
# risk and prefer ZAI_API_KEY if you need the most policy-safe path.
[models]
planner = "zai:glm-5.1"
coder = "zai:glm-5.1"
reviewer = "openai-codex:gpt-5.4"
sentinel = "openai-codex:gpt-5.4"
escalation = "openai-codex:gpt-5.4"
researcher = "zai:glm-5.1"
[budget]
daily_limit_usd = 15.0
mode = "normal"
[loop]
max_iterations = 120
max_context_tokens = 120000
context_rotation_pct = 80
gutter_detection = true
gutter_threshold = 3
parallel_workers = 1
story_max_retries = 2
cooldown_seconds = 2.0
story_timeout_s = 1200.0
auto_commit_success = false
auto_push_success = false
[review]
enabled = true
sample_rate = 1
always_review_run = true
[security]
sandbox_mode = "strict"
redact_secrets = true
max_rules_file_chars = 12000
audit_commands = true
[openai_codex]
timeout = 240.0
sandbox = "read-only"
ephemeral = true
[zai]
timeout = 180.0
base_url = "https://api.z.ai/api/paas/v4"
coding_plan_base_url = "https://api.z.ai/api/coding/paas/v4"
use_coding_plan = true
[recon]
enabled = true
max_searches = 12
max_fetch_chars = 5000
search_provider = "searxng"
searxng_url = "http://localhost:8888"
brave_api_key = ""
exa_api_key = ""
debate_rounds = 3
min_approval_score = 8.0
cache_results = true