Asked about Streaming a response

What does streaming complicate?

An answer that works

Validation, since you cannot check a schema until the stream ends. Error handling, since a failure can arrive after the user has seen half an answer. Retries and output moderation, both of which assume you can act before anything is shown.

Reading an answer is not being able to give one. The section that teaches this is Streaming a response, 5 hours of Streaming responses.

Learn this properly