The Vercel AI SDK has released version 7.0.84, as detailed in changelogs for @ai-sdk/togetherai@3.0.41, @ai-sdk/voyage@2.0.33, @ai-sdk/zai@3.0.2, and @ai-sdk/vue@4.0.84. This update includes several patch changes and dependency updates across various components of the SDK.
Key Points
- The Vercel AI SDK version 7.0.84 exposes parsed structured output within
streamTextend callbacks. - Tool approval secrets are now permitted in
ToolLoopAgentsettings andprepareCallwithin theaipackage. - The SDK addresses stateful and empty-match regular expressions in
smoothStreamfor improved handling. - Amazon Bedrock integration now supports omitting assistant messages when only cache points remain after unsigned reasoning is filtered.
- A new model family setting for embeddings has been added to Amazon Bedrock to support ARN.
- Amazon Bedrock streaming responses can now accept citation deltas.
- Dependencies for
@ai-sdk/gateway,@ai-sdk/provider-utils,@ai-sdk/alibaba, and@ai-sdk/anthropichave been updated.
Context
According to the Vercel AI SDK changelogs, these updates are part of ongoing maintenance and feature enhancements. The changes aim to improve the functionality and reliability of the SDK, particularly in areas concerning streaming output, tool agent configurations, and integrations with cloud AI services like Amazon Bedrock.
Why It Matters
These updates provide developers using the Vercel AI SDK with enhanced control over structured output from streaming text, improved tool management, and more robust integration capabilities with Amazon Bedrock. The ability to handle citation deltas and configure embedding model families for Amazon Bedrock can lead to more precise and feature-rich AI applications.
What To Do
- Review the updated documentation for
streamTextend callbacks to utilize the new structured output exposure. - Developers using
ToolLoopAgentshould check the updated settings for tool approval secrets. - If working with Amazon Bedrock, explore the new model family setting for embeddings and support for citation deltas.
- Note the updated dependencies for
@ai-sdk/gateway@4.0.68,@ai-sdk/provider-utils@5.0.33,@ai-sdk/alibaba@2.0.38, and@ai-sdk/anthropic@4.0.45.
