3.48.0
(feat): 为 SSE 流端点设置 Accept: text/event-stream 标头。fetcher 现在
通过设置适当的 Accept 标头来处理 responseType: "sse",与 Go 和 Rust 生成器的
行为一致。非 SSE 流端点 (JSON/text) 继续
使用默认的 Accept 标头。
3.47.1
(fix): 修复 SSE 流终止符为可选而不是默认为 "[DONE]"。当在 Fern 定义中未指定
terminator 时,生成的 SDK 不再向 Stream 构造函数传递
streamTerminator,允许流仅在连接关闭时结束。