# @ai-sdk/xai@5.0.28

Category: agent-infrastructure
Published: 2026-10-22T19:05:34Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/%40ai-sdk%2Fxai%405.0.28)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-22T20:17:58.977Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK releases published @ai-sdk/xai@5.0.28. Patch Changes 43ad966 : Report interrupted when a stream ends cleanly without its provider completion signal, preserving partial output without emitting an error solely for the interruption. This applies to OpenAI (Chat, Responses, and Completions), Anthropic, Google (Generate Content and Interactions),…

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

## Body
Vercel AI SDK releases published @ai-sdk/xai@5.0.28. 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: Patch Changes 43ad966 : Report interrupted when a stream ends cleanly without its provider completion signal, preserving partial output without emitting an error solely for the interruption. This applies to OpenAI (Chat, Responses, and Completions), Anthropic, Google (Generate Content and Interactions), Alibaba, Amazon Bedrock Converse, Cohere, DeepSeek, Groq, Hugging Face Responses, Mistral Chat, Moonshot AI, Open Responses, Perplexity, and xAI Responses. It also covers cutoffs in later Anthropic messages and Google automatic continuations. Compatibility notice: These streams previously fell back to other or omitted the finish part. Applications must now handle interrupted in finish-reason switches, mappings, and custom validation. Check finishReason === 'interrupted' to detect incomplete responses; interruption alone does not trigger error handling. Explicit unknown completion reasons…

## Recommended actions
- Review the official Vercel AI 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.