Vercel has released patch ai@7.0.104 for its AI SDK, introducing experimental evaluation model aliases and registry resolution. This update also includes new functionalities for tool search, supporting both direct tool calling and native tool search capabilities.
Key Points
- The ai@7.0.104 patch release adds experimental evaluation model aliases and registry resolution.
- The
customProvidernow acceptsevaluationModels. - Registries expose
evaluationModelfor resolution. - The
experimental_evaluatefunction accepts string IDs when an evaluation-capable default provider is explicitly configured. - Evaluation will not implicitly fall back to Gateway.
- Model-resolution errors now identify
evaluationModel. - The SDK supports tool search with direct tool calling.
- Native tool search tool functionality has been added.
Context
According to the Vercel AI SDK Changelog, the ai@7.0.104 patch release also includes a fix to report abnormal realtime WebSocket close diagnostics through onError. This release updates dependencies for @ai-sdk/provider-utils@5.0.43, @ai-sdk/provider@4.0.17, and @ai-sdk/gateway@4.
Why It Matters
These updates provide developers with more granular control over model evaluation and enhance the SDK's capabilities for integrating external tools, potentially streamlining development workflows and improving diagnostic insights.
What To Do
- Review the ai@7.0.104 patch notes for detailed changes.
- Test the
experimental_evaluatefunction with explicitly configured evaluation-capable providers. - Explore the new tool search features for direct and native tool calling in your applications.
- Note the changes to
customProviderand registry exposures forevaluationModel.
