-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (49 loc) · 2.25 KB
/
.env.example
File metadata and controls
63 lines (49 loc) · 2.25 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
# CrewAI Workshop - Environment Configuration
# Copy this file to .env and fill in your API key
# DO NOT commit .env to version control!
# ============================================================================
# 🔑 GROQ API Key Configuration (FREE)
# ============================================================================
# Get your free GROQ API key from: https://console.groq.com/keys
# No credit card required!
GROQ_API_KEY=gsk_your_groq_api_key_here
# ============================================================================
# 🤖 GROQ Model Configuration
# ============================================================================
# Model Selection - Use models fully compatible with CrewAI
# Recommended: llama-3.1-8b-instant (fast, free tier)
# Other options: mixtral-8x7b-32768, gemma-7b-it
# DO NOT use: openai/gpt-oss-* models (breaks CrewAI prompt slicing)
GROQ_MODEL=llama-3.1-8b-instant
# ============================================================================
# 📝 GROQ Advanced Settings
# ============================================================================
# Temperature: Controls randomness (0-2, default: 1)
GROQ_TEMPERATURE=1
# Max Tokens: Maximum response length (default: 8192)
GROQ_MAX_TOKENS=8192
# Top P: Nucleus sampling (0-1, default: 1)
GROQ_TOP_P=1
# Reasoning Effort: 'low', 'medium', 'high' (default: medium)
GROQ_REASONING_EFFORT=medium
# Stream: Enable streaming responses (true/false, default: true)
GROQ_STREAM=true
# ============================================================================
# 📝 Setup Instructions
# ============================================================================
# 1. Get your free GROQ API key:
# - Visit: https://console.groq.com/keys
# - Sign up (no credit card needed)
# - Create API key
# - Copy the key (starts with gsk_)
# - Paste into GROQ_API_KEY above
# 2. Security:
# - NEVER commit .env to Git
# - NEVER share your API keys
# - Keep keys confidential
# - Rotate keys regularly
# 3. Troubleshooting:
# - If API key not found, check .env file exists
# - Verify key format (starts with gsk_)
# - Restart terminal after editing .env
# - Run: python setup.py to reconfigure