> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 5.16.0

**`(feat):`** 为 `resumable: true` 端点实现透明的 SSE 流自动重连，使 Python SDK 与 TypeScript 和 Go 保持一致。当可恢复流提前结束时，`EventSource` 现在使用 `Last-Event-ID` header 重新发起原始请求，并从最后一个*已分发*的事件 id 恢复（而非解析但未分发的 id，避免静默事件丢失）。
重连受配置的流终止符控制，遵守 `stream_reconnection_enabled` 和 `max_stream_reconnection_attempts`（带进度重置），默认退避 1 秒（或服务器 `retry:` 值，上限 30 秒），防止空重连体，并在退避延迟期间保持可取消。支持同步和异步客户端。