-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yml
More file actions
72 lines (57 loc) · 2.19 KB
/
Copy pathconfig.example.yml
File metadata and controls
72 lines (57 loc) · 2.19 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
# PatchPOC Configuration File
# Place this file at: ~/.patchpoc/config.yml or ./config.yml
# LLM Provider Configuration
# Options: openai, google, anthropic, deepseek
llm_provider: openai
# Global LLM Model (used for all agents unless overridden)
# OpenAI: gpt-4o, o1-preview
# Google: gemini/gemini-2.5-pro-preview-03-25
# Anthropic: anthropic/claude-sonnet-4-20250514
# DeepSeek: deepseek/deepseek-chat
llm_model: gpt-4o
# LLM Base URL (for custom/self-hosted endpoints)
# llm_base_url: https://api.openai.com/v1
# CrewAI Native Provider (optional)
# Forces CrewAI to use a specific SDK instead of LiteLLM.
# Options: openai, anthropic, gemini, azure, deepseek, ollama, hosted_vllm
# Auto-detected as "openai" when llm_base_url is set.
# crewai_provider: openai
# Common LLM Settings
temperature: 0.1
# max_tokens: null
# llm_timeout: 300 # seconds per LLM call (default: 300)
# stream: false # Enable streaming responses from the LLM
# Per-Agent Model Overrides (optional)
# Different agents CAN use different models
# agent_models:
# codeql_query: gpt-4o
# code_analysis: anthropic/claude-sonnet-4-20250514
# vuln_analysis: anthropic/claude-sonnet-4-20250514
# report_writer: gpt-4o
# Per-Agent Temperature Overrides (optional)
# agent_temperatures:
# vuln_analysis: 0.1
# API Keys (or set via environment variables)
# openai_api_key: your_openai_api_key_here
# google_api_key: your_google_api_key_here
# anthropic_api_key: your_anthropic_api_key_here
# deepseek_api_key: your_deepseek_api_key_here
# MCP Server Configuration
mcp_diff_server_url: http://localhost:8891
mcp_binql_server_url: http://localhost:8892
# CodeQL Configuration
# codeql_binary_path: /path/to/codeql/binary
# Docker Preprocessing
docker_image: patchpoc-preprocessor
# Agent Configuration
agent_max_iterations: 15
agent_verbose: false
# Analysis Settings
candidate_function_count: 25
deterministic_seed_min_confidence: 0.2
# Autonomous Loop Settings
max_loop_iterations: 3 # Max crew iterations before accepting best result
loop_accept_threshold: 0.7 # Quality score (0-1) to accept result immediately
# max_refinement_iterations: 2 # context-gap refinement loops (0 to disable)
# Logging
log_level: INFO