Expand description
Streaming event types for the Responses API.
When stream: true, the server returns a sequence of semantic SSE
events instead of a single response object. Every event carries an
incrementing sequence_number; the stream ends with
response.completed, response.incomplete, or response.failed
(there is no data: [DONE] sentinel).
The event set follows the OpenAI Responses streaming events together
with the subsets documented by
DeepSeek
and
Qwen.
Events not modeled explicitly deserialize to
ResponseStreamEvent::Other.
Enumsยง
- Event
Content Part - A content part carried by
response.content_part.added/response.content_part.doneevents. - Response
Stream Event - One event of a streamed Responses API call.