-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
108 lines (89 loc) · 4.47 KB
/
.env.example
File metadata and controls
108 lines (89 loc) · 4.47 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
# ============================================================================
# Database
# ============================================================================
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_password
NEO4J_DATABASE=neo4j
# ============================================================================
# GitHub App (for BugViper bot — webhooks, repo cloning, PR comments)
# ============================================================================
GITHUB_APP_ID=your_app_id_here
GITHUB_PRIVATE_KEY_PATH=/path/to/your-app-private-key.pem
GITHUB_WEBHOOK_SECRET=your_webhook_secret_here
# ============================================================================
# Firebase (service account — JSON string or file path)
# ============================================================================
SERVICE_FILE_LOC=/path/to/service-account.json
# ============================================================================
# OpenRouter (LLM + embeddings — single key for everything)
# Models: https://openrouter.ai/models
# ============================================================================
OPENROUTER_API_KEY=your_openrouter_api_key_here
REVIEW_MODEL=openai/gpt-4o-mini
# Model used by the review agent for structured synthesis
SYNTHESIS_MODEL=openai/gpt-4o-mini
# Allow agent to update PR description with a summary
ENABLE_PR_DESCRIPTION_UPDATE=true
# ============================================================================
# LangSmith (optional tracing)
# ============================================================================
# LangChain/LangGraph tracing is enabled via LANGCHAIN_*.
LANGCHAIN_TRACING_V2=false
LANGCHAIN_API_KEY=
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
LANGCHAIN_PROJECT=BugViper
# Some setups also use LANGSMITH_* envs (kept for compatibility)
LANGSMITH_TRACING=false
LANGSMITH_API_KEY=
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_PROJECT=BugViper
# ============================================================================
# Google Gemini (LLM — for Gemini models like gemini-3.1-pro-preview)
# ============================================================================
GEMINI_API_KEY=your_gemini_api_key_here
# ============================================================================
# Google Gemini (LLM — for Gemini models like gemini-3.1-pro-preview)
# ============================================================================
GEMINI_API_KEY=your_gemini_api_key_here
# ============================================================================
# Pydantic Logfire observability (optional)
# ============================================================================
ENABLE_LOGFIRE=false
LOGFIRE_TOKEN=your_logfire_token_here
# ============================================================================
# CORS (comma-separated list of allowed frontend origins)
# ============================================================================
API_ALLOWED_ORIGINS=http://localhost:3000
# ============================================================================
# Ngrok (optional)
# ============================================================================
# Use a reserved domain to get a stable webhook URL.
# Set either NGROK_DOMAIN (preferred) or NGROK_URL (domain will be derived).
NGROK_DOMAIN=
NGROK_URL=
# ============================================================================
# Repository cloning (optional — defaults to system temp directory)
# ============================================================================
CLONE_DIR=/path/to/clone/repos
# ============================================================================
# Google Cloud Tasks (optional — for async ingestion in production)
# Leave unset for local dev; the API falls back to direct HTTP.
# ============================================================================
CLOUD_TASKS_QUEUE=ingestion-queue
INGESTION_SERVICE_URL=http://localhost:8080
# Queue + service URL for code review tasks (optional)
CLOUD_TASKS_REVIEW_QUEUE=codeReview
REVIEW_SERVICE_URL=http://localhost:8100
# Cloud Tasks OIDC auth (optional)
# Service account email used to mint OIDC tokens for Cloud Run targets
CLOUD_TASKS_SA_EMAIL=
# GCP project/region (required if Cloud Tasks enabled)
GCP_PROJECT_ID=
GCP_LOCATION=us-central1
# Lint service URL (optional; enables linting in reviews)
LINT_SERVICE_URL=http://localhost:8090
# API agent (ReAct) overrides (optional)
MODEL=openai/gpt-4o-mini
MAX_SEARCH_RESULTS=10
SYSTEM_PROMPT=