-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
266 lines (194 loc) · 6.84 KB
/
.env.example
File metadata and controls
266 lines (194 loc) · 6.84 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
# ============================================
# API Keys
# ============================================
# Azure OpenAI Configuration
AZURE_OPENAI_API_KEY_EUS2=your-azure-openai-key-eus2
AZURE_OPENAI_API_KEY_SC=your-azure-openai-key-sc
AZURE_OPENAI_URL_SC=https://your-resource.openai.azure.com/
AZURE_OPENAI_URL_EUS2=https://your-resource.openai.azure.com/
# Anthropic API Key
ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
# OpenAI API Key
OPENAI_API_KEY=sk-your-openai-key
# OPENAI_BASE_URL=https://api.openai.com/v1/chat/completions
# Together AI API Key
TOGETHER_API_KEY=
# Google GenAI API Key
GENAI_API_KEY=
# Groq API Key
GROQ_API_KEY=
# ============================================
# GitHub Configuration
# ============================================
# GitHub Token for repo access
GITHUB_TOKEN=
# GitHub API Key for auto-submission features
GITHUB_API_KEY=
# ============================================
# Base Paths (CHANGE THIS - all other paths derive from it)
# ============================================
# Root workspace directory
WORKSPACE_ROOT=/path/to/your/workspace
# ============================================
# Logging Configuration
# ============================================
# Log level for stream output (TRACE, DEBUG, INFO, WARNING, ERROR)
SWE_AGENT_LOG_STREAM_LEVEL=DEBUG
# Show timestamps in logs (true/false)
SWE_AGENT_LOG_TIME=false
# ============================================
# SWE-Agent Directory Configuration
# ============================================
# Config directory (default: <repo>/config)
# SWE_AGENT_CONFIG_DIR=
# Tools directory (default: <repo>/tools)
# SWE_AGENT_TOOLS_DIR=
# Trajectory output directory (default: <repo>/trajectories)
# SWE_AGENT_TRAJECTORY_DIR=
# Config root path
# SWE_AGENT_CONFIG_ROOT=
# ============================================
# VM Configuration (VMware) - LEGACY, use Docker Native instead
# ============================================
VM_USER=user
VM_PASSWORD=password
# Path to VMware VM file (.vmx)
HOST_VM_FILE=/path/to/your/Ubuntu.vmx
# VM working directory (inside the VM)
VM_WORKING_DIR=/home/user/Documents/WorkingDir
# VMware connection settings
VMWARE_PORT=4000
VMWARE_TIMEOUT=120
VM_SNAPSHOT_NAME=init_state
# ============================================
# Docker Native Configuration (Recommended)
# ============================================
# Docker image to use
DOCKER_NATIVE_IMAGE=sweagent/ubuntu-wayland:latest
# Port mappings (use higher ports to avoid conflicts)
DOCKER_SERVER_PORT=15000
DOCKER_SWEREX_PORT=14000
DOCKER_VNC_PORT=15900
DOCKER_XPRA_PORT=18080
# Container working directory
CONTAINER_WORKING_DIR=/home/user/Documents/WorkingDir
# Container data directory (for mounted datasets)
CONTAINER_DATA_DIR=/home/user/data
# Config file for VMware runs
CONFIG_FILE=vmware_cell_test.yaml
# ============================================
# Desktop Environment Settings
# ============================================
# Screen size (width x height)
SCREEN_WIDTH=1200
SCREEN_HEIGHT=800
# Desktop environment options
HEADLESS=false
REQUIRE_A11Y_TREE=true
REQUIRE_TERMINAL=true
OS_TYPE=Ubuntu
ACTION_SPACE=computer_13
# ============================================
# Web Browser Configuration (for web_browser tool)
# ============================================
WEB_BROWSER_PORT=8009
WEB_BROWSER_AUTOSCREENSHOT=1
WEB_BROWSER_SCREENSHOT_MODE=save
WEB_BROWSER_WINDOW_WIDTH=1024
WEB_BROWSER_WINDOW_HEIGHT=768
WEB_BROWSER_HEADLESS=1
WEB_BROWSER_SCREENSHOT_DELAY=0.2
WEB_BROWSER_BROWSER_TYPE=chromium
WEB_BROWSER_RECONNECT_TIMEOUT=15
# WEB_BROWSER_CHROMIUM_EXECUTABLE_PATH=
# WEB_BROWSER_FIREFOX_EXECUTABLE_PATH=
# ============================================
# Host Machine Paths
# ============================================
# Training/Testing Dataset Directories
HOST_TRAINING_DIR=/path/to/data/CellProfiler-Benchmark/CellProfiler-Training
HOST_TESTING_DIR=/path/to/data/CellProfiler-Benchmark/CellProfiler-Testing
# Results output directory
RESUME_OUTPUT_DIR=/path/to/results
HOST_RESULTS_DIR=/path/to/results
# Input directory (for JUMP Discovery)
HOST_INPUT_DIR=/path/to/data/JUMPDiscovery
# ============================================
# Application Paths
# ============================================
# CellProfiler executable path (in container)
CELLPROFILER_PATH=/opt/miniforge3/envs/cellprofiler/bin/cellprofiler
# Local development path (inside container)
LOCAL_DEV_PATH=/home/user/Documents/WorkingDir
# QuPath path (relative to /home/user/ in container)
QUPATH_PATH=qupath/build/dist/QuPath/bin
# ============================================
# Conda Environment Configuration
# ============================================
# Default conda environment name
ENV_NAME=python39
# ============================================
# Dataset Paths (for upload scripts)
# ============================================
# Pathology dataset
PATHOLOGY_DATASET_PATH=/path/to/data/Pathology-Dataset
# CellProfiler dataset
CELLPROFILER_DATASET_PATH=/path/to/data/CellProfiler-Benchmark
# JUMP Discovery dataset
JUMPDISCOVERY_DATASET_PATH=/path/to/data/JUMPDiscovery
# ============================================
# Metrics/Evaluation Paths
# ============================================
# Ground truth directory for evaluations
GROUND_TRUTH_DIR=/path/to/metrics/ground_truth
# Compare directory for measurements
COMPARE_DIR=/path/to/dev/measurements
# Evaluation threshold
EVALUATION_THRESHOLD=0.5
# ============================================
# Model Configuration
# ============================================
# Default model name
DEFAULT_MODEL=claude-sonnet-4-5-20250929
# Cost limits
PER_INSTANCE_COST_LIMIT=50.0
TOTAL_COST_LIMIT=0.0
# Model parameters
MODEL_TEMPERATURE=0.5
MODEL_TOP_P=0.9
MODEL_MAX_TOKENS=1500
# ============================================
# Agent Configuration
# ============================================
# Maximum trajectory length
MAX_TRAJECTORY_LENGTH=70
# Tool execution timeout (seconds)
EXECUTION_TIMEOUT=600
# Accessibility tree max tokens
A11Y_TREE_MAX_TOKENS=10000
# ============================================
# Run Configuration
# ============================================
# Resume mode
RESUME_MODE=false
# Config file name (in config/ directory) - set in Docker Native Configuration section above
# CONFIG_FILE=vmware_cell.yaml # Use CONFIG_FILE in Docker Native section
# Maximum number of runs
MAXIMUM_RUNS=20
# GitHub repo URL for auto-submission
REPO_URL=https://github.com/your-org/your-repo
# ============================================
# Retry Loop Configuration
# ============================================
RETRY_MAX_ATTEMPTS=1
RETRY_ACCEPT_SCORE=0.8
RETRY_COST_LIMIT=20.0
# ============================================
# Napari Configuration
# ============================================
# Napari cache path
NAPARI_CACHE_PATH=/path/to/.napari_cache/
# ============================================
# Optional: Hugging Face
# ============================================
# HF_TOKEN=