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

## 0.34.0

**`(feat):`** 添加 `retryStatusCodes` 配置选项（`"legacy"` | `"recommended"`）。Legacy（默认）保留现有行为（408、429、>= 500）。Recommended 仅重试瞬态代码（408、429、502、503、504），排除 500 Internal Server Error，以避免对非幂等失败进行重试。