# @cloudflare/ai-chat@0.12.3

Category: agent-infrastructure
Published: 2026-11-20T15:56:30Z
Source: [Cloudflare Agents SDK releases](https://github.com/cloudflare/agents/releases/tag/%40cloudflare/ai-chat%400.12.3)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-25T20:17:55.621Z
Tags: cloudflare, agents-sdk, edge-runtime

## Human Summary
Cloudflare Agents SDK releases published @cloudflare/ai-chat@0.12.3. This release fixes chat races across tabs and during recovery, so stop, clear, regenerate and resume do what the user asked even while another tab or a recovery is streaming. A chat request cancelled while it waits in the queue no longer runs, and when onError returns instead of throwing,…

## Agent Summary
Treat @cloudflare/ai-chat@0.12.3 as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.

## Body
Cloudflare Agents SDK releases published @cloudflare/ai-chat@0.12.3. This automated release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: This release fixes chat races across tabs and during recovery, so stop, clear, regenerate and resume do what the user asked even while another tab or a recovery is streaming. A chat request cancelled while it waits in the queue no longer runs, and when onError returns instead of throwing, AIChatAgent passes the original error on. No changes are needed to upgrade. Patch Changes - 2832 (https://github.com/cloudflare/agents/pull/2832) c31b57e (https://github.com/cloudflare/agents/commit/c31b57e11e19ad532915fcf15dec5f1be916d5b7) Thanks @ben-reitz (https://github.com/ben-reitz)! - When onError returns instead of throwing, Agent and AIChatAgent now pass the original error on, instead of undefined (or an unawaited promise when onError is async). - 2818 (https://github.com/cloudflare/agents/pull/2818) a2f1216 (https://github.com/cloudflare/agents/commit/a2f1216993aa43982ef3550ec0a05e9a4d6d3175)…

## Recommended actions
- Review the official Cloudflare Agents SDK releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.