blob: 2b14b482cfa8252b8ac321769777dfc16965429a [file] [log] [blame]
iomodo578f5042025-07-28 20:46:02 +04001# Staff AI Agent System - Gerrit Configuration Example
2# This configuration demonstrates how to use Gerrit instead of GitHub for pull requests
3
4openai:
5 api_key: "sk-your-openai-api-key-here"
6 model: "gpt-4"
7 base_url: "https://api.openai.com/v1"
8 timeout: 30s
9 max_retries: 3
10
11# Gerrit configuration instead of GitHub
12gerrit:
13 username: "your-gerrit-username"
14 password: "your-gerrit-http-password-or-token"
15 base_url: "https://gerrit.example.com"
16 project: "your-project-name"
17
18agents:
19 - name: "backend-engineer"
20 role: "Backend Engineer"
21 model: "gpt-4"
22 system_prompt_file: "../operations/agents/backend-engineer/system.md"
23 capabilities: ["go", "api_development", "database_design"]
24 task_types: ["backend", "api", "database"]
25 max_tokens: 4000
26 temperature: 0.1
27
28 - name: "frontend-engineer"
29 role: "Frontend Engineer"
30 model: "gpt-4"
31 system_prompt_file: "../operations/agents/frontend-engineer/system.md"
32 capabilities: ["react", "typescript", "ui_design"]
33 task_types: ["frontend", "ui", "web"]
34 max_tokens: 4000
35 temperature: 0.3
36
37 - name: "qa-engineer"
38 role: "QA Engineer"
39 model: "gpt-4"
40 system_prompt_file: "../operations/agents/qa-engineer/system.md"
41 capabilities: ["testing", "automation", "quality_assurance"]
42 task_types: ["testing", "qa", "automation"]
43 max_tokens: 3000
44 temperature: 0.1
45
46tasks:
47 storage_path: "../operations/tasks/"
48 completed_path: "../operations/completed/"
49
50git:
51 branch_prefix: "task/"
52 commit_message_template: "Task {task_id}: {task_title}\n\n{solution}\n\nGenerated by Staff AI Agent: {agent_name}"
53 pr_template: |
54 ## Task: {task_title}
55
56 **Task ID:** {task_id}
57 **Agent:** {agent_name}
58 **Priority:** {priority}
59
60 ### Description
61 {task_description}
62
63 ### Solution
64 {solution}
65
66 ### Files Changed
67 {files_changed}
68
69 ---
70 *Generated by Staff AI Multi-Agent System*