← AI PulseAug 30, 2026

Wire · news · Multi-source brief

Vercel AI SDK Updates Tool Choice Handling and Bedrock Embeddings

The Vercel AI SDK has been updated to reject generateText responses that do not satisfy required or selected tool choices, and to expose normalized response content for recovery.

By Illumora Editorial

Source · Aug 30, 2026, 8:47 AM · On Illumora · Aug 30, 2026, 8:58 AM

Media from the primary source — shown here so you can stay on Illumora.

Synthesized from multiple allowlisted primaries on the same event. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →Vercel AI SDK Changelog — Release @ai-sdk/xai@3.0.130 · vercel/ai
Save

Vercel has released updates to its AI SDK, including changes to how generateText responses are handled when tool choices are involved. The update, noted in the @ai-sdk/xai@3.0.130 and @ai-sdk/zai@2.0.2 changelogs, introduces a mechanism to reject responses that do not meet specified tool choice criteria.

Additionally, the @ai-sdk/amazon-bedrock@4.0.166 package received an update to support a model family setting for embeddings, enabling the use of Amazon Resource Names (ARNs). Further updates in @ai-sdk/tui@1.0.86 and @ai-sdk/svelte@5.0.85 address image generation cost summation and Anthropic reasoning budgets.

Key Points

  • The Vercel AI SDK now rejects generateText responses that do not satisfy a required or specifically selected tool choice.
  • Normalized response content is exposed on ToolChoiceViolationError for opt-in recovery.
  • Tool approval secrets are now allowed in ToolLoopAgent settings and prepareCall.
  • The @ai-sdk/amazon-bedrock@4.0.166 package adds a model family setting for embeddings to support ARNs.
  • Assistant messages are omitted when only cache points remain after unsigned reasoning is filtered.
  • The SDK now sums Gateway image-generation costs across split requests.
  • Anthropic reasoning budgets are enabled for application inference profile ARNs.

Context

According to the Vercel AI SDK changelogs, these updates are part of ongoing maintenance and feature enhancements across various SDK packages. The changes aim to improve the reliability of tool usage, enhance provider-specific functionalities, and refine cost tracking for AI operations.

Why It Matters

These updates provide developers with more robust control over tool interactions in AI applications and improve compatibility with cloud provider-specific features. The ability to recover from tool choice violations and better manage Amazon Bedrock embeddings can streamline development workflows and enhance application stability.

What To Do

  • Review the ToolChoiceViolationError documentation for details on opt-in recovery.
  • Developers using Amazon Bedrock should explore the new model family setting for embeddings to leverage ARN support.
  • Note the changes to image generation cost summation in the Gateway package.
  • If using Anthropic models, be aware of the enabled reasoning budgets for application inference profile ARNs.

Keep Exploring

/atlas/claude-family /atlas/amazon-bedrock /techniques/output-schema /techniques/system-user-separation