stream: true to receive the response as server-sent events (SSE,
Content-Type: text/event-stream) following the standard OpenAI Responses event sequence.
The stock OpenAI SDK’s streaming interface works unchanged.
Event sequence
response.output_text.delta once research
completes — there is no token-by-token streaming yet. The early response.created and
response.in_progress events still arrive up front, so streaming works well as a connection
acknowledgment during longer requests. Consume deltas in a loop rather than assuming one
chunk; granularity may become finer in the future.
Usage
response.completed event carries the complete final Response object — the same shape
a non-streaming request returns, including usage.
Source citations arrive as response.output_text.annotation.added events after the text
delta — see Citations.