forked from vitrixLab/AIOpsLab
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
45 lines (34 loc) · 1.68 KB
/
.env.example
File metadata and controls
45 lines (34 loc) · 1.68 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
# AIOpsLab Environment Variables Configuration
# Copy this file to .env and fill in your actual values
# =============================================================================
# GENERAL SETTINGS
# =============================================================================
# Enable Weights & Biases logging (optional)
# Set to "true" to enable W&B tracking across all clients
USE_WANDB=false
# =============================================================================
# API KEYS - Add your API keys below
# =============================================================================
# OpenAI API Key (for GPT clients)
# Get from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your_openai_api_key_here
# DeepSeek API Key
# Get from: https://platform.deepseek.com/api_keys
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# Alibaba DashScope API Key (for Qwen models)
# Get from: https://dashscope.console.aliyun.com/
DASHSCOPE_API_KEY=your_dashscope_api_key_here
# OpenRouter API Key
# Get from: https://openrouter.ai/keys
OPENROUTER_API_KEY=your_openrouter_api_key_here
# Groq API Key
# Get from: https://console.groq.com/keys
GROQ_API_KEY=your_groq_api_key_here
# =============================================================================
# MODEL CONFIGURATIONS
# =============================================================================
# OpenRouter Model Selection (optional)
OPENROUTER_MODEL=openai/gpt-4o-mini
# Set it to a positive integer(window size in lines) to trim log blocks that only differ in timestamps. This saves input tokens and reduces context length.
# For example, if LOG_TRIM=2, the code will compare every 1 line, and then every 2 lines for duplication.
LOG_TRIM=0