@cloudflare/ai-chat@0.12.2

cloudflare/agents@cloudflare/ai-chat@0.12.2Oct 20, 2026by github-actions[bot]

Upgrading?

AI Summary

A patch release updating chat recovery logic to stop infinite retries when a turn exceeds the Durable Object memory limit.

Key Highlights

  • Chat recovery now seals a turn after `maxInterruptedAttempts` (default 5).
  • Deprecated `maxOomRetries` configuration.

Full Release Notes

### Patch Changes

-   [#2615](https://github.com/cloudflare/agents/pull/2615) [`05843e4`](https://github.com/cloudflare/agents/commit/05843e428be0d8b43a5bf1923d8e40adce6f213d) Thanks [@mattzcarey](https://github.com/mattzcarey)! - Chat recovery now seals a turn after `chatRecovery.maxInterruptedAttempts` interrupted attempts (default 5), so a turn that exceeds the Durable Object memory limit on every run no longer retries forever; `maxOomRetries` is deprecated. See [Stream Recovery](https://github.com/cloudflare/agents/blob/main/docs/agents/chat-agents.md#stream-recovery).

Related Repositories