Skip to content

Commit 3b6522d

Browse files
author
Yue Deng
committed
update .env readme
1 parent 08c2771 commit 3b6522d

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

README.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,28 @@ uv sync
160160

161161
**Step 2:** Set up environment dependencies:
162162

163+
a. Set up `MiroFlow/apps/prepare-benchmark/.env` by:
164+
```bash
165+
## copy environment variable template and prepare yours in .env file
166+
cd MiroFlow/apps/prepare-benchmark
167+
cp .env.template .env
168+
vim .env
169+
```
163170
Required environment variables:
164171
- `HF_TOKEN` (for downloading datasets from Hugging Face)
172+
173+
Optional environment variables:
174+
- `DATA_DIR` (Data loading directory, by default `../../data`)
175+
176+
177+
b. Set up `MiroFlow/apps/run-agent/.env` by:
178+
```bash
179+
## copy environment variable template and prepare yours in .env file
180+
cd MiroFlow/apps/run-agent
181+
cp .env.template .env
182+
vim .env
183+
```
184+
Required environment variables:
165185
- `OPENROUTER_API_KEY` (Using OpenRouter to provide primary agent model)
166186
- `ANTHROPIC_API_KEY` (for vision tools)
167187
- `OPENAI_API_KEY` (for audio tools, intent recognition, and answer extraction)
@@ -176,15 +196,6 @@ Optional environment variables:
176196

177197
If you wish to use a different LLM as the primary agent model, you will need to provide the corresponding API keys.
178198

179-
```bash
180-
## copy environment variable template and prepare yours in .env file
181-
cd MiroFlow/apps/prepare-benchmark
182-
cp .env.template .env
183-
vim .env
184-
cd MiroFlow/apps/run-agent
185-
cp .env.template .env
186-
vim .env
187-
```
188199

189200
**Step 3:** Prepare E2B Sandbox (Optional)
190201

0 commit comments

Comments
 (0)