| # Staff AI Agent System - Gerrit Configuration Example |
| # This configuration demonstrates how to use Gerrit instead of GitHub for pull requests |
| |
| openai: |
| api_key: "sk-your-openai-api-key-here" |
| model: "gpt-4" |
| base_url: "https://api.openai.com/v1" |
| timeout: 30s |
| max_retries: 3 |
| |
| # Gerrit configuration instead of GitHub |
| gerrit: |
| username: "your-gerrit-username" |
| password: "your-gerrit-http-password-or-token" |
| base_url: "https://gerrit.example.com" |
| project: "your-project-name" |
| |
| agents: |
| - name: "backend-engineer" |
| role: "Backend Engineer" |
| model: "gpt-4" |
| system_prompt_file: "../operations/agents/backend-engineer/system.md" |
| capabilities: ["go", "api_development", "database_design"] |
| task_types: ["backend", "api", "database"] |
| max_tokens: 4000 |
| temperature: 0.1 |
| |
| - name: "frontend-engineer" |
| role: "Frontend Engineer" |
| model: "gpt-4" |
| system_prompt_file: "../operations/agents/frontend-engineer/system.md" |
| capabilities: ["react", "typescript", "ui_design"] |
| task_types: ["frontend", "ui", "web"] |
| max_tokens: 4000 |
| temperature: 0.3 |
| |
| - name: "qa-engineer" |
| role: "QA Engineer" |
| model: "gpt-4" |
| system_prompt_file: "../operations/agents/qa-engineer/system.md" |
| capabilities: ["testing", "automation", "quality_assurance"] |
| task_types: ["testing", "qa", "automation"] |
| max_tokens: 3000 |
| temperature: 0.1 |
| |
| tasks: |
| storage_path: "../operations/tasks/" |
| completed_path: "../operations/completed/" |
| |
| git: |
| branch_prefix: "task/" |
| commit_message_template: "Task {task_id}: {task_title}\n\n{solution}\n\nGenerated by Staff AI Agent: {agent_name}" |
| pr_template: | |
| ## Task: {task_title} |
| |
| **Task ID:** {task_id} |
| **Agent:** {agent_name} |
| **Priority:** {priority} |
| |
| ### Description |
| {task_description} |
| |
| ### Solution |
| {solution} |
| |
| ### Files Changed |
| {files_changed} |
| |
| --- |
| *Generated by Staff AI Multi-Agent System* |