-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.niuma.yml
More file actions
46 lines (39 loc) · 1.26 KB
/
.niuma.yml
File metadata and controls
46 lines (39 loc) · 1.26 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
ai:
# 唯一真相源:切换 provider 只需改这里
default: codex
providers:
# Claude Code
claude:
cmd: "cat {prompt_file} | CLAUDECODE= claude -p --output-format text --max-budget-usd 10 --permission-mode acceptEdits --add-dir {workdir}"
# OpenAI Codex(需要 OPENAI_API_KEY)
codex:
cmd: "codex exec --sandbox workspace-write --full-auto -C {workdir} - < {prompt_file}"
cmd_agent: "codex exec --sandbox workspace-write --full-auto -C {workdir} - < {prompt_file}"
# Kimi(Moonshot AI)
kimi:
cmd: "cat {prompt_file} | kimi --print --input-format text --output-format text --final-message-only -w {workdir}"
# 讨论阶段:多 provider 左右互搏
# "default" 占位符自动解析为 ai.default 的值
discussion:
providers:
- default
- kimi
# 实现阶段:空值或 "default" 自动使用 ai.default
implementation:
provider: default
workflow:
max_discussion_rounds: 5
discuss_timeout_minutes: 20
visible_round_interval: 1
visible_only_on_diff: true
max_iterate_rounds: 10
allowed_prefixes:
- "automation/"
implement_trigger_labels:
- "bot:plan-final"
label_guard:
allowlist:
- "github-actions[bot]"
- "niuma-bot"
- "biantaishabi2"
mode: "dry-run"