# ai@5.0.281

Category: agent-infrastructure
Published: 2026-10-23T19:39:50Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%405.0.281)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-23T20:17:54.535Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK releases published ai@5.0.281. Patch Changes - 9ec221d: Fix toolChoice: 'none' by forwarding it to the Hugging Face Responses API and rejecting tool calls before local execution in generateText and streamText with a new ToolChoiceViolationError . Streamed tool parts are withheld so client-side tools cannot act on them, and experimental…

## Agent Summary
Treat ai@5.0.281 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@5.0.281. 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 - 9ec221d: Fix toolChoice: 'none' by forwarding it to the Hugging Face Responses API and rejecting tool calls before local execution in generateText and streamText with a new ToolChoiceViolationError . Streamed tool parts are withheld so client-side tools cannot act on them, and experimental repairToolCall is not invoked for rejected tool calls. - Updated dependencies 0a444c6 - Updated dependencies 6120af2 - @ai-sdk/gateway@2.0.172

## 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.