The Vercel AI SDK has released updates, including version @ai-sdk/vue@4.0.38, which introduces an experimental speech translation model specification and a new function for streaming speech-to-speech translation. This release also addresses client tool errors for invalid provider-executed tool calls.
Key Points
- The @ai-sdk/vue@4.0.38 release includes
Experimental_SpeechTranslationModelV4andexperimental_streamTranslatefor streaming speech-to-speech translation. - The update
7bd6bddavoids synthesizing client tool errors for invalid provider-executed tool calls. - @ai-sdk/togetherai@1.0.50 and @ai-sdk/togetherai@2.0.68 now enable
includeUsagefor TogetherAI, allowing streaming responses to report token usage. - The @ai-sdk/mistral@3.0.52 update fixes an issue to preserve reasoning in multi-turn conversations.
- Updated dependencies include @ai-sdk/gateway@4.0.29, @ai-sdk/provider@4.0.4, @ai-sdk/provider-utils@5.0.13, @ai-sdk/alibaba@2.0.17, @ai-sdk/openai-compatible@3.0.15, @ai-sdk/amazon-bedrock@5.0.33, @ai-sdk/anthropic@4.0.22, and @ai-sdk/openai@4.0.21.
Context
According to the Vercel AI SDK Changelog, the experimental_streamTranslate function is part of the new Experimental_SpeechTranslationModelV4 specification. This functionality is designed for streaming speech-to-speech translation. Additionally, the changelog indicates that the includeUsage feature for TogetherAI streaming responses, which reports token usage, was enabled in versions @ai-sdk/togetherai@1.0.50 and @ai-sdk/togetherai@2.0.68. A fix for the @ai-sdk/mistral@3.0.52 package addresses an issue where reasoning was not preserved in multi-turn conversations.
Why It Matters
These updates introduce new capabilities for developers working with speech translation and improve the transparency of token usage for TogetherAI models. The fix for Mistral models enhances the reliability of multi-turn conversational AI applications, which is important for maintaining context and coherence.
What To Do
- Review the Vercel AI SDK changelog for @ai-sdk/vue@4.0.38 to understand the new speech translation features.
- Developers using TogetherAI should note the
includeUsageenablement in @ai-sdk/togetherai@1.0.50 and @ai-sdk/togetherai@2.0.68 for tracking token consumption. - Users of @ai-sdk/mistral@3.0.52 should verify the fix for multi-turn conversation reasoning.
- Check the updated dependencies for any potential integration impacts on existing projects.
