as_text
as_text
Render a list of requests as step text: the heading, one numbered line per request
with its opener, and a closing line that tells the agent to take them up in order once
the current task is done. This is the text kept under <global_key>_text.
Parameters
requests
The requests, as pending()
returns them.
Returns
str — The text, or "" when there are no requests.