-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
91 lines (65 loc) · 2.69 KB
/
.env.example
File metadata and controls
91 lines (65 loc) · 2.69 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
# Codi Environment Variables
# Copy this file to .env and fill in your values
# At least one AI provider API key is required
# ============================================================================
# AI Provider API Keys (at least one required)
# ============================================================================
# Anthropic Claude API key
# Get one at: https://console.anthropic.com/
ANTHROPIC_API_KEY=sk-ant-...
# OpenAI API key (also used for embeddings in RAG)
# Get one at: https://platform.openai.com/
OPENAI_API_KEY=sk-...
# ============================================================================
# Ollama Configuration (optional - for local models)
# ============================================================================
# Ollama host URL (default: http://localhost:11434)
OLLAMA_HOST=http://localhost:11434
# Ollama Cloud API key (if using Ollama Cloud instead of local)
OLLAMA_API_KEY=
# Set to 'true' to use Ollama Cloud instead of local Ollama
OLLAMA_CLOUD=false
# ============================================================================
# Web Search API Keys (optional - enhanced web search)
# ============================================================================
# Brave Search API key
# Get one at: https://brave.com/search/api/
BRAVE_SEARCH_API_KEY=
# Google Custom Search API key
# Get one at: https://developers.google.com/custom-search
GOOGLE_SEARCH_API_KEY=
# Google Custom Search Engine ID
# Create at: https://cse.google.com/create/new
GOOGLE_SEARCH_ENGINE_ID=
# Bing Search API key
# Get one at: https://www.microsoft.com/bing/apis
BING_SEARCH_API_KEY=
# ============================================================================
# RunPod API key
RUNPOD_API_KEY=
# RunPod endpoint ID for your deployed model
RUNPOD_ENDPOINT_ID=
# Model name on RunPod (default: 'default')
RUNPOD_MODEL=
# ============================================================================
# Development & Debugging (optional)
# ============================================================================
# Enable debug output
DEBUG=false
# Debug paste detection (for troubleshooting bracketed paste mode)
DEBUG_PASTE=0
# Enable audit logging (writes to ~/.codi/audit/)
CODI_AUDIT=false
# Custom history file location
CODI_HISTORY_FILE=
# Custom history directory location
CODI_HISTORY_DIR=
# ============================================================================
# Testing (for development only)
# ============================================================================
# Mock provider response file (for testing without API calls)
CODI_MOCK_FILE=
# Mock provider log file (logs requests during testing)
CODI_MOCK_LOG=
# Force specific provider (for testing)
CODI_PROVIDER=