pub(super) fn ndjson_line(
event: &ChatbotChatStreamEvent,
) -> ChatbotResult<Bytes>Expand description
Frames one event as the NDJSON line the client reads: the wire format’s single boundary.
pub(super) fn ndjson_line(
event: &ChatbotChatStreamEvent,
) -> ChatbotResult<Bytes>Frames one event as the NDJSON line the client reads: the wire format’s single boundary.