wait
Poll a chat until the in-progress reply finishes generating, then retrieve it in your requested format. If still generating, repeat the poll; timeout up to 900 seconds.
Instructions
Wait for the newest reply in a chat to finish (poll). timeout_sec<=900; if it returns status=generating call wait again. Returns the reply in reply_format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| timeout_sec | No | ||
| reply_format | No | largest_markdown |