The Wire · Showcase
VERCEL AI FIXES XAI PROVIDER BUGS BREAKING MULTI-STEP TOOL CALLING
By RepoJournal · Filed · About Vercel
Grok reasoning models are failing 4-12% of the time on continuation steps, and Vercel AI just shipped two fixes that surface the actual errors and stop duplicate reasoning events from tanking requests.
The XAI provider in Vercel AI was silently breaking multi-step tool calls with grok-4.3 and grok-4.20-reasoning [1]. Every reasoning summary part event fired a new reasoning-start marker, which meant when XAI split a reasoning block across multiple parts, Vercel AI sent duplicate markers that violated XAI's API contract. That's been fixed [2]. In parallel, error reporting was completely broken [3]. XAI 4xx failures surfaced as generic "Bad Request" messages while the real error detail lived buried in responseBody, making debugging impossible [4]. Now errors properly parse XAI's actual response schema and bubble up the real message. On the Turborepo side, v2.9.15-canary.3 hit a doc aliasing snag but shipped critical cache fixes [5], while the standalone Vercel CLI fixed its own update check routing [6]. The AI package is holding in pre-release mode and waiting on the next changeset merge [7].
One email a day. Unsubscribe in one click.
Keep up with Vercel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Upgrade @vercel/ai if using XAI providers with reasoning models before next deploy vercel/ai [immediate]
- → Update standalone Vercel CLI to fix self-update checks vercel/vercel [plan]
- → Monitor Turborepo canary for stable 2.9.15 release vercel/turborepo [monitor]
References
- [1] fix(provider/xai): dedupe reasoning-start on multi-summary-part responses to prevent xai 400s on continuations ↗ vercel/ai
- [2] fix(provider/xai): dedupe reasoning-start on multi-summary-part responses to prevent xai 400s on continuations (#15334) vercel/ai
- [3] fix(provider/xai): surface full xai error detail in APICallError.message ↗ vercel/ai
- [4] fix(provider/xai): surface full xai error detail in APICallError.message (#15338) vercel/ai
- [5] release(turborepo): 2.9.15-canary.3 ↗ vercel/turborepo
- [6] [FIX] Fixing a single deployment error ↗ vercel/vercel
- [7] Version Packages (canary) ↗ vercel/ai