lesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timelesson 2 of 4 · messages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every timemessages, roles, and the response — the call ai ships every time
AI assumed the response had a top-level text field, but Anthropic
returns text nested inside content[0]. The script crashes with a
KeyError. Fix line 11 so it prints the reply.
Expected output:
All tests pass.
The break is on line 11 — but read the whole snippet first.