-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
88 lines (67 loc) · 2.73 KB
/
.env.example
File metadata and controls
88 lines (67 loc) · 2.73 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
# Setup-Agent (SAG) environment configuration example
# Copy this file as .env and fill in actual values
# ==================== Model Configuration ====================
# Thinking model configuration (for complex reasoning)
# Supports OpenAI o1 models and Claude Extended Thinking
SAG_THINKING_MODEL=o4-mini
SAG_THINKING_PROVIDER=openai
SAG_THINKING_TEMPERATURE=1
SAG_MAX_THINKING_TOKENS=16000
SAG_REASONING_EFFORT=medium
# Claude Extended Thinking configuration
SAG_CLAUDE_EXTENDED_THINKING=true
SAG_CLAUDE_THINKING_BUDGET_TOKENS=10000
# Action model configuration (for tool invocation)
SAG_ACTION_MODEL=gpt-4o
SAG_ACTION_PROVIDER=openai
SAG_ACTION_TEMPERATURE=0.3
SAG_MAX_ACTION_TOKENS=10000
# ==================== API Keys ====================
# OpenAI API key
OPENAI_API_KEY=your_openai_api_key_here
# Anthropic API key (required for Claude Extended Thinking)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Groq API key
# GROQ_API_KEY=your_groq_api_key_here
# Azure API key
# AZURE_API_KEY=your_azure_api_key_here
# ==================== API Base URLs ====================
# OpenAI API base URL (useful if using a proxy or custom endpoint)
OPENAI_BASE_URL=https://api.openai.com/v1
# Ollama base URL (if using local models)
# OLLAMA_BASE_URL=http://localhost:11434
# Azure API configuration
# AZURE_API_BASE=your_azure_api_base_here
# AZURE_API_VERSION=2023-12-01-preview
# ==================== Logging Configuration ====================
# Log level: DEBUG, INFO, WARNING, ERROR
SAG_LOG_LEVEL=INFO
# Log file path
SAG_LOG_FILE=logs/sag.log
# Enable verbose debug output (includes Claude thinking blocks)
SAG_VERBOSE=false
# Log file rotation size
SAG_LOG_ROTATION=50 MB
# Log file retention period
SAG_LOG_RETENTION=30 days
# ==================== Docker Configuration ====================
# Docker base image
SAG_DOCKER_BASE_IMAGE=ubuntu:22.04
# Workspace path (inside the container)
SAG_WORKSPACE_PATH=/workspace
# ==================== Agent Configuration ====================
# Maximum number of iterations
SAG_MAX_ITERATIONS=50
# Context switching threshold
SAG_CONTEXT_SWITCH_THRESHOLD=20
# ==================== Model Selection Notes ====================
# Thinking model selection:
# 1. Claude Extended Thinking: claude-3-5-sonnet-20241022 (recommended)
# 2. OpenAI o series: o4-mini
#
# Example settings:
# - Using Claude: SAG_THINKING_MODEL=claude-3-5-sonnet-20241022, SAG_THINKING_PROVIDER=anthropic
# - Using OpenAI o1: SAG_THINKING_MODEL=o4-mini, SAG_THINKING_PROVIDER=openai
# ==================== Claude Thinking Configuration ====================
# Claude thinking budget tokens (1024, 2048, 4096)
SAG_THINKING_BUDGET_TOKENS=10000