Skip to content

Commit 70df716

Browse files
Fix path for .env file in README (#104)
The reproduction steps involve running promptfoo from the benchmarks folder. In order for the environment var9ables in `.env` to be discoverable they need to be in this folder, not the project root.
1 parent 6d35c10 commit 70df716

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎benchmarks/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Requires an Anthropic API key and **Node.js ≥ 22.22.0** (promptfoo's engine co
1010
check with `node --version` and upgrade if needed):
1111

1212
```bash
13-
cp ../.env.example ../.env # add your ANTHROPIC_API_KEY
13+
cp ../.env.example .env # add your ANTHROPIC_API_KEY
1414
npx promptfoo@latest eval -c promptfooconfig.yaml --env-file ../.env --repeat 10
1515
npx promptfoo@latest view
1616
```

0 commit comments

Comments
 (0)