Vercel announced on July 26 an update to its AI SDK, specifically the @ai-sdk/amazon-bedrock@5.0.32 package. This patch addresses a compatibility issue where Claude models, when accessed through Amazon Bedrock, rejected certain parameters.
The update ensures that the tool strict and output_config.format parameters are omitted for Claude models within the Amazon Bedrock integration, resolving the rejection issue.
Key Points
- The @ai-sdk/amazon-bedrock@5.0.32 package was released on July 26.
- The update fixes an issue with Claude models on Amazon Bedrock.
- Claude models were rejecting
tool strictandoutput_config.formatparameters. - The patch omits these specific parameters for Claude models when using Amazon Bedrock.
- The @ai-sdk/anthropic@4.0.21 dependency was also updated.
Context
According to Vercel, the patch changes in eb16508 specifically target the Amazon Bedrock provider within the AI SDK. This ensures smoother operation when developers utilize Claude models, which are offered through Amazon Bedrock, by preventing the transmission of unsupported parameters.
Why It Matters
This update is important for developers using the Vercel AI SDK to integrate Claude models via Amazon Bedrock, as it resolves a technical incompatibility that could hinder model deployment or performance. It ensures that applications can reliably interact with Claude models without encountering parameter rejection errors.
What To Do
- Update to @ai-sdk/amazon-bedrock@5.0.32 in your project dependencies.
- Review your application's use of
tool strictandoutput_config.formatif targeting Claude models on Amazon Bedrock. - Note the updated @ai-sdk/anthropic@4.0.21 dependency.
