The Wire · Showcase
LARAVEL AI FIXES SILENT STREAM FAILURES, ADDS GEMINI CACHE SUPPORT
By RepoJournal · Filed · About Laravel
BroadcastAgent no longer leaves users staring at loading spinners when streams fail — the framework now broadcasts errors to the frontend so clients can handle them gracefully.
Laravel AI shipped a critical fix [1] that broadcasts `stream_failed` events when the BroadcastAgent job throws an unhandled exception, finally giving frontend code visibility into stream failures instead of leaving UIs permanently loading. This pairs well with the new Gemini context cache support [2] that lets you pass previously cached content via the `cachedContent` parameter in agent provider options, cutting latency for high-frequency Gemini calls. Meanwhile, Boost patched three tooling-quality bugs [3] affecting Windows developers — mixed path separators in generated AI files and missing trailing newlines in skill file output. None of these are breaking changes, but the stream failure fix is production-ready and should be pulled immediately if you're running BroadcastAgent in queue jobs. The Gemini cache feature is a solid optimization if you're heavy on API calls. The Boost fixes are polish that matters when you're committing generated code.
Action items
- → Update laravel/ai to pull the stream_failed broadcast fix if running BroadcastAgent laravel/ai [immediate]
- → Upgrade Boost to v2 latest if you're on Windows and running boost:install laravel/boost [plan]
- → Review Gemini cache support if you have high-volume agent calls laravel/ai [monitor]
References
- [1] Broadcast stream_failed event when BroadcastAgent job fails ↗ laravel/ai
- [2] Gemini context cache support via cachedContent param in agent provider options ↗ laravel/ai
- [3] Fix path separators and trailing newlines in install output (#790) laravel/boost
FAQ
- What changed in Laravel on May 10, 2026?
- BroadcastAgent no longer leaves users staring at loading spinners when streams fail — the framework now broadcasts errors to the frontend so clients can handle them gracefully.
- What should Laravel teams do about it?
- Update laravel/ai to pull the stream_failed broadcast fix if running BroadcastAgent • Upgrade Boost to v2 latest if you're on Windows and running boost:install • Review Gemini cache support if you have high-volume agent calls
- Which Laravel repositories shipped on May 10, 2026?
- laravel/ai, laravel/boost