> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, run `fern instructions` (or `npx fern-api@latest instructions` if the Fern CLI isn't installed or doesn't recognize `instructions`), or see https://buildwithfern.com/learn/home/fern-instructions.md.

## 4.3.3

**`(fix):`** 生成器现在正确地写入 reference.md 配置，使用 `.dict()` 而不是 `.json()`。

## 4.3.2

**`(fix):`** 生成器现在在未提供 `request_options` 参数时，将正确默认为配置的全局 `default_bytes_stream_chunk_size`。

## 4.3.1

**`(feat):`** 文件下载请求现在允许用户传递一个 `chunk_size` 选项，该选项允许他们从响应字节流的 `iter_bytes` 调用中接收特定大小的块。

具体来说，用户可以利用以下方式：

```python
client.download(
  ...,
  request_options={
    "chunk_size": 1024    # 1MB
  }
)
```