Sergii Kozak

Results 2 comments of Sergii Kozak

Started suddnly getting this error too (when streaming), although it was supposedly fixed in #104

This looks like the best fix: https://github.com/MacPaw/OpenAI/pull/151#issuecomment-1913703132 And the reason is that if `stringContent` starts or ends with a separator (in our case `data:`), the `.components(separatedBy:)` adds an empty string...