promptdojo_

.env, os.getenv, and the leak recovery you'll do at least once — step 6 of 9

AI hardcoded an API key into source on line 4. The provided fake_env dict already has the key set. Fix line 4 so it reads from fake_env.get("ANTHROPIC_API_KEY") instead.

Expected output:

key starts with: sk-ant-t
The break is on line 4 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.