> 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.

## 5.2.1

**`(fix):`** 修复用户提供的 `httpx_client` 在实例化 OAuth token 提供者的内部 HTTP 客户端时被忽略的问题，导致自定义传输、SSL 证书和代理无法应用于 token 刷新请求。

## 5.2.0

**`(feat):`** 添加 `maxRetries` 自定义配置选项。在 `generators.yml` 中设置时，生成的 SDK 使用指定值作为默认重试次数，而不是硬编码的默认值 2。设置为 0 可默认禁用重试，这对于具有非幂等端点的 API 很有用。SDK 用户仍可通过 `request_options` 按请求覆盖此设置。