Streaming responses from the Sudo API.
"stream": true
to your request body and consume the event-stream as it arrives.
data:
contains a JSON chunk.:
are comments and can be safely ignored.data: [DONE]
signals the end of the stream.AbortController
in the browser). The request will stop; however, you may be billed for the tokens of the full stream.