-
Notifications
You must be signed in to change notification settings - Fork 157
Expand file tree
/
Copy path.env.example
More file actions
61 lines (46 loc) · 2.33 KB
/
.env.example
File metadata and controls
61 lines (46 loc) · 2.33 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
# 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
# =============================================================================
# GENERIC OPENAI CHAT COMPLETIONS API CLIENT
# =============================================================================
# API key for any OpenAI Chat Completions API compatible endpoint (e.g. Poe)
# Get a Poe API key from: https://creator.poe.com/
OPENAI_COMPATIBLE_API_KEY=your_api_key_here
# Base URL of the target endpoint
# Example for Poe: https://api.poe.com/llm/v1
OPENAI_COMPATIBLE_BASE_URL=https://api.poe.com/llm/v1
# Model name to use via the generic client (default: gpt-4o)
# Example for Poe: MiniMax-Text-01, Claude-3-7-Sonnet, etc.
OPENAI_COMPATIBLE_MODEL=gpt-4o
# 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