API
Streaming
Server-sent events from the chat endpoint, and what is saved to the thread when a stream is cut short.
Set "stream": true on a chat completion and the reply arrives as server-sent events, in the OpenAI streaming format, as the model produces it.