namespace AIStudio.Provider;
///
/// One event of a server-sent event stream, as it came off the wire.
///
///
/// The raw line travels next to its payload because not every decision can be made from the
/// payload alone: the Responses API, for one, ends its stream with an "event:" line which carries
/// no payload at all.
///
/// The line as it arrived, including its "data:" prefix when it had one.
/// The payload of a data line, empty for every other kind of line.
public readonly record struct ServerSentEvent(string Line, string Data);