3 ms·
I also provide utilities for dealing with OpenAI-style HTTP response streams, never worry about splitting out the `data:` prefix and JSON parsing the rest, but
by explaininjs 3y ago
I also provide utilities for dealing with OpenAI-style HTTP response streams, never worry about splitting out the `data:` prefix and JSON parsing the rest, but making sure to include the last chunk if that was incomplete, but also looking out for errors, etc. etc. etc..... again!