-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.example.env
More file actions
81 lines (61 loc) · 2.37 KB
/
Copy path.example.env
File metadata and controls
81 lines (61 loc) · 2.37 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
# ============================================
# API KEYS (Replace with your actual keys)
# ============================================
GOOGLE_API_KEY=your_google_api_key
GROQ_API_KEY=your_groq_api_key
HUGGINGFACE_API_TOKEN=your_huggingface_token
GITHUB_TOKEN=your_github_token
# ============================================
# DATABASE CONFIGURATION
# ============================================
CHROMA_TENANT=default_tenant
CHROMA_DATABASE=default_database
# ============================================
# AGENT SYSTEM CONFIGURATION
# ============================================
# Primary LLM Provider (gemini, groq, or huggingface)
LLM_PROVIDER=gemini
# Agent Models
SECURITY_AGENT_MODEL=gemini-1.5-flash
QUALITY_AGENT_MODEL=gemini-1.5-flash
LOGIC_AGENT_MODEL=gemini-1.5-flash
CONTEXT_AGENT_MODEL=gemini-1.5-pro
DECISION_AGENT_MODEL=gemini-1.5-pro
# ============================================
# API RATE LIMITING
# ============================================
REQUEST_DELAY=0.5 # Delay between requests (in seconds)
MAX_RETRIES=3 # Maximum retry attempts
RETRY_DELAY=2 # Delay between retries (in seconds)
# ============================================
# DATABASE URL (Uncomment and set if used)
# ============================================
# DATABASE_URL=sqlite:///./agent_system.db
# DATABASE_URL=postgresql://user:password@localhost/agent_system
# DATABASE_URL=mysql://user:password@localhost/agent_system
# ============================================
# LOGGING CONFIGURATION
# ============================================
LOG_LEVEL=INFO
LOG_FILE=agent_system.log
# ============================================
# SECURITY SETTINGS
# ============================================
ENCRYPT_API_KEYS=false
SECRET_KEY=your_secret_key_for_encryption
# ============================================
# PERFORMANCE SETTINGS
# ============================================
MAX_FILES_PER_PR=50 # Max files analyzed per PR
MAX_FILE_SIZE=500 # Max file size in KB
LLM_TIMEOUT=30 # Timeout for LLM requests (in seconds)
# ============================================
# DEVELOPMENT SETTINGS
# ============================================
ENVIRONMENT=development
DEBUG=true
MOCK_LLM_RESPONSES=false
# ============================================
# BACKEND CONFIGURATION
# ============================================
BACKEND_URL=http://localhost:8000