promptdojo_

Parsing nested API responses — without crashing on a missing key — step 4 of 9

Three responses, each with a different shape: full, empty choices list, and totally missing. The loop walks each defensively. What does it print? (Three lines, in order.)

read, then continue.