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

## 3.24.0

**`(feat):`** 添加支持通过 generators.yml 中的 `default-timeout-in-seconds` 配置默认超时时间。之前默认超时时间硬编码为 60 秒。现在您可以自定义：

配置示例：

```yaml
config:
  default-timeout-in-seconds: 120
```

## 3.23.4

**`(chore):`** OAuth 令牌覆盖现在始终为使用 OAuth 客户端凭据认证的 API 启用。已删除 `oauth-token-override` 配置标志 - SDK 用户现在始终可以选择直接提供预生成的 bearer 令牌或使用 OAuth 客户端凭据流程。

生成的用法：

```java
// 选项 1：直接 bearer 令牌（绕过 OAuth 流程）
SeedApiClient client = SeedApiClient.withToken("my-pre-generated-bearer-token")
    .url("https://api.example.com")
    .build();

// 选项 2：OAuth 客户端凭据流程（自动令牌管理）
SeedApiClient client = SeedApiClient.withCredentials("your-client-id", "your-client-secret")
    .url("https://api.example.com")
    .build();
```