3.48.0
(feat): Set Accept: text/event-stream header for SSE streaming endpoints. The fetcher now
handles responseType: "sse" by setting the appropriate Accept header, matching the
behavior of the Go and Rust generators. Non-SSE streaming endpoints (JSON/text) continue
to use the default Accept header.
3.47.1
(fix): Fix SSE stream terminator to be optional instead of defaulting to "[DONE]". When no
terminator is specified in the Fern definition, the generated SDK no longer passes a
streamTerminator to the Stream constructor, allowing the stream to end only when the
connection closes.