-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprecise-target.yaml
More file actions
147 lines (123 loc) · 4.85 KB
/
Copy pathprecise-target.yaml
File metadata and controls
147 lines (123 loc) · 4.85 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Code Pipeline Configuration - Local
# ===================================
# Local configuration file (gitignored). Edit with your actual API keys.
# CLI/Task/Docker args override values from this file.
# Core Pipeline Configuration
# ---------------------------
pipeline:
# GitHub issue or PR URL (required) - task, repo, issue_id are derived from it
issue_url: ""
# Base branch for feature branches
branch: main
# Start from scratch ignoring previous checkpoints
from_scratch: false
# Maximum retry attempts for failed implementations
max_retries: 3
# Dry run mode (no commits, no pushes)
dry_run: false
# API Keys and Authentication
# ---------------------------
# Note: For security, these can also be set as environment variables:
# OPENROUTER_API_KEY, GITHUB_TOKEN, SERPER_API_KEY
api_keys:
# OpenRouter API key (required for model access)
openrouter_api_key: "YOUR_OPENROUTER_API_KEY_HERE"
# GitHub Personal Access Token (for GitHub API access)
github_token: "YOUR_GITHUB_TOKEN_HERE"
# Serper API key for web search (optional - enables SerperDevTool)
serper_api_key: "YOUR_SERPER_API_KEY_HERE"
# Logging Configuration
# ---------------------
logging:
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
level: "INFO"
# Enable/disable CrewAI telemetry (disabled to avoid SSL issues)
crewai_telemetry: false
# Model Configuration
# -------------------
# MAXIMUM cost-effectiveness configuration using only 4 cheapest non-free models:
# 1. DeepSeek Chat - cheapest good reasoning model
# 2. Qwen2.5 Coder - cheapest specialized coding model
# 3. Gemini 2.0 Flash - cheapest fast text generation
# 4. Mistral Small - cheapest general-purpose model
#
# No expensive models (Llama 3.3 70B, GPT, Claude, etc.) to minimize costs
models:
# Issue Analyst Crew: Needs reasoning + GitHub issue understanding
analyze_issue:
primary: "openrouter/deepseek/deepseek-chat"
fallbacks:
- "openrouter/qwen/qwen-2.5-coder-32b-instruct"
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
# Explorer Crew: Needs code understanding + tech stack analysis
explore:
primary: "openrouter/qwen/qwen-2.5-coder-32b-instruct"
fallbacks:
- "openrouter/deepseek/deepseek-chat"
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
# Architect Crew: Needs design thinking + architecture planning
plan:
primary: "openrouter/google/gemini-2.0-flash-001"
fallbacks:
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
- "openrouter/deepseek/deepseek-chat"
# Implementer Crew: Needs coding excellence + precision
implement:
primary: "openrouter/qwen/qwen-2.5-coder-32b-instruct"
fallbacks:
- "openrouter/deepseek/deepseek-chat"
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
# Reviewer Crew: Needs critical thinking + code review skills
review:
primary: "openrouter/deepseek/deepseek-chat"
fallbacks:
- "openrouter/qwen/qwen-2.5-coder-32b-instruct"
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
# Commit Crew: Needs concise, clear writing for commit messages
commit:
primary: "openrouter/google/gemini-2.0-flash-001"
fallbacks:
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
- "openrouter/deepseek/deepseek-chat"
# Publish stage: Needs PR description writing + communication
publish:
primary: "openrouter/google/gemini-2.0-flash-001"
fallbacks:
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
- "openrouter/deepseek/deepseek-chat"
# Auxiliary stage: General-purpose tasks, needs to be cheapest
auxiliary:
primary: "openrouter/mistralai/mistral-small-24b-instruct-2501"
fallbacks:
- "openrouter/google/gemini-2.0-flash-001"
- "openrouter/deepseek/deepseek-chat"
# Security stage: Needs security reasoning + vulnerability analysis
security:
primary: "openrouter/deepseek/deepseek-chat"
fallbacks:
- "openrouter/qwen/qwen-2.5-coder-32b-instruct"
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
# Test Validation: Needs test writing and validation
test_validation:
primary: "openrouter/qwen/qwen-2.5-coder-32b-instruct"
fallbacks:
- "openrouter/deepseek/deepseek-chat"
- "openrouter/mistralai/mistral-small-24b-instruct-2501"
# Tool Configuration
# ------------------
tools:
# Web search configuration (SerperDevTool)
serper:
enabled: false # Enable/disable web search (opt-in for cost control)
n_results: 5 # Default number of search results (1-10)
timeout: 30 # Search timeout in seconds
search_depth: "moderate" # moderate|comprehensive: controls query specificity
# Agent Behavior Tuning
# ---------------------
agents:
# Enable verbose agent output
verbose: false
# Enable agent memory
memory: false
# Enable output log files
output_log_file: true