-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (60 loc) · 2.5 KB
/
Copy path.env.example
File metadata and controls
70 lines (60 loc) · 2.5 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
# ============================================================================
# ============================================================================
# Logging Configuration
# ============================================================================
# Log level: DEBUG, INFO, WARN, ERROR (default: DEBUG)
# - DEBUG: Full logging including API payloads
# - INFO: High-level agent interactions and tool execution
# - WARN: Only warnings
# - ERROR: Only errors
LOG_LEVEL=DEBUG
# Enable file logging (default: false)
# When enabled, logs are written to LOG_DIR
LOG_FILE=false
# Directory for log files (default: ./logs)
LOG_DIR=./logs
# Create separate log files per provider (default: true)
# If false, all logs go to agent.log
# If true, creates agent_openai.log and agent_anthropic.log
PROVIDER_LOGGING=true
# ============================================================================
# Model Provider Selection
# ============================================================================
# Choose which LLM provider to use: 'openai' or 'anthropic'
# Default: openai
MODEL_PROVIDER=openai
# ============================================================================
# OpenAI Configuration
# ============================================================================
# API key for OpenAI or OpenAI-compatible services (e.g., NVIDIA, Azure)
OPENAI_API_KEY=your_openai_api_key_here
# Base URL for OpenAI or compatible API
# Examples:
# - https://api.openai.com/v1 (OpenAI)
# - https://integrate.api.nvidia.com/v1 (NVIDIA)
# - https://api.openai.azure.com (Azure)
OPENAI_BASE_URL=https://api.openai.com/v1
# Model name to use
# Examples:
# - gpt-4 (OpenAI)
# - gpt-3.5-turbo (OpenAI)
# - qwen/qwen3-coder-480b-a35b-instruct (NVIDIA)
OPENAI_MODEL=gpt-4
# ============================================================================
# Anthropic Configuration
# ============================================================================
# API key for Anthropic or local Ollama/Llama.cpp with Anthropic compatibility
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Base URL for Anthropic or compatible API
# Examples:
# - https://api.anthropic.com (Anthropic)
# - http://localhost:11434 (Ollama)
# - http://localhost:8080 (Llama.cpp)
ANTHROPIC_BASE_URL=https://api.anthropic.com
# Model name to use
# Examples:
# - claude-3-opus-20240229 (Anthropic Claude 3 Opus)
# - claude-3-sonnet-20240229 (Anthropic Claude 3 Sonnet)
# - qwen3.5:9b (Ollama)
# - qwen (Llama.cpp)
ANTHROPIC_MODEL=claude-3-sonnet-20240229