Wire the real model — swap fake_llm for the Anthropic SDK shape — step 6 of 9
Cursor wrote this for "just one quick test." The key is hardcoded
as a Python literal. If you commit and push, the key is in your
git history forever — even after you delete the line, even after
you git push --force (the rotation API logs prove it).
Fix the code to load the key from the environment via os.getenv.
In this demo the env var is set for you.
Expected output:
key starts with: sk-ant
Cursor wrote this for "just one quick test." The key is hardcoded
as a Python literal. If you commit and push, the key is in your
git history forever — even after you delete the line, even after
you git push --force (the rotation API logs prove it).
Fix the code to load the key from the environment via os.getenv.
In this demo the env var is set for you.
Expected output:
key starts with: sk-ant
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.