@cloudflare/ai-chat@0.7.1
cloudflare/agents@cloudflare/ai-chat@0.7.1May 19, 2026by github-actions[bot]
AI Summary
This is a patch release (0.7.1) that fixes an issue with the `useAgentChat` hook where the first optimistic message would incorrectly disappear when the Agent HTTP URL became available immediately after component mount.
Key Highlights
- Fixes useAgentChat to keep the first optimistic send visible when the Agent HTTP URL is available immediately after mount
- Improves user experience by preventing premature message disappearance
- Single patch change from PR #1541
Full Release Notes
### Patch Changes - [#1541](https://github.com/cloudflare/agents/pull/1541) [`bc2b1d3`](https://github.com/cloudflare/agents/commit/bc2b1d388fdb36d597bfc41716ff9fccfdff14a9) Thanks [@whoiskatrin](https://github.com/whoiskatrin)! - Keep `useAgentChat`'s first optimistic send visible when the Agent HTTP URL becomes available immediately after mount.