promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Messages, roles, and the response — the call AI ships every time — step 8 of 9

Build ask(question) the way a live client wrapper looks: one user turn, one create call, return the text field. The starter already has fake_create(messages) so you can practice the python here.

Then call ask("What's 2 + 2?") and print the result.

Expected output:

4

full-screen editor opens — close anytime to keep reading.