.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.
⌘↵ runs the editor.read, then continue.
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.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.