promptdojo_

Reading the response — content blocks, stop_reason, usage — step 5 of 9

Fill in the list comprehension that extracts the text field from every block whose type is "text". The result should be a list of strings — text parts, in original order.

Expected output:

['Hello', 'world']
read, then continue.