nxt::ai::responses::stream_event struct

One decoded server-sent event from a streaming Responses request.

Public variables

std::string type
SSE event type, such as response.output_item.added.
nlohmann::json payload
Parsed JSON payload from the event's data field.
std::string raw
Original unparsed data field text.