Streaming Responses
In v1.x, streaming is handled through the
get_response_stream
method. The framework returns StreamEvent objects as they are returned by OpenAI, providing direct access to the underlying streaming events.