Vercel released a patch for its AI SDK, specifically version @ai-sdk/xai@3.0.133, on September 15.
Key Points
- The release is identified as @ai-sdk/xai@3.0.133.
- It was released on September 15.
- The update includes a fix for the
xaicomponent. - The fix ensures the preservation of
additionalProperties: falsewithin tool schemas. - The specific patch change is identified by commit 8825c65.
Context
According to the Vercel AI SDK Changelog, this patch addresses a specific technical detail within the SDK's functionality. The fix targets the xai component, ensuring that a particular schema property, additionalProperties: false, is correctly maintained.
Why It Matters
For developers utilizing the Vercel AI SDK, this update ensures that tool schemas behave as expected, particularly regarding strict property definitions. Correct preservation of additionalProperties: false is important for maintaining data integrity and preventing unexpected inputs when defining tools for AI models.
What To Do
- Developers using the Vercel AI SDK should note the @ai-sdk/xai@3.0.133 release.
- Review your tool schemas if you rely on
additionalProperties: falsefor strict validation. - Update your SDK to this version to incorporate the fix.
- Test your existing tool implementations after updating to confirm expected behavior.