We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Update Code

Time for the coup de grâce!

Let's test our agent's ability to actually fix a bug all on its own.

Assignment

Again, getting this to succeed may require a system prompt that is a bit more detailed and explicit. One thing that can be helpful is to ask a few different LLMs, like GPT and Claude, for suggestions on how to make your system prompt more effective for a coding agent. And keep experimenting with it!

Once your agent fixes the calculator, run and submit the CLI tests.